-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
To simplify templating with files/assets we should provide methods to "extract" the file extension form a filename and to get a filesize in a human readable string.
- getFileExtension("filename.ext") → ext
- getDisplayFileSize(1970176) → 1MB
Acceptance criteria
- is depended upon by
-
MTE-15 Remove redundant methods getFileExtension(String) and getSizeString(long) from TeaserDownloadModel and LinkModel and use methods from templating functions instead
- Closed