Uploaded image for project: 'Magnolia Templating Essentials'
  1. Magnolia Templating Essentials
  2. MTE-15

Remove redundant methods getFileExtension(String) and getSizeString(long) from TeaserDownloadModel and LinkModel and use methods from templating functions instead

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 0.5
    • None
    • models
    • None

    Description

      • Remove methods and use cmsfn's methods instead
        • info.magnolia.templating.models.LinkModel
        • info.magnolia.templating.models.components.TeaserDownloadModel
      • Remove translations key/value pairs (not required anymore)
      • Adjust templates
        • mte/components/teaser.ftl
        • mte/components/link.ftl

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD