-
+
+ <#list newsList.items as item>
+
-
+
+
+
+ <#list item.attachments as attachmentList>
+ <#if attachmentList.name = ".images">
+
+ #if> + #list> + + + "${item.title}" + +
+ #list>
+
+ ${item.title}" +
+
+ <#list item.attachments as attachmentList>
+ <#if attachmentList.name = ".images">
+
+ #if>
+ #list>
+ ${item.description}"
+
Example of Theme Utils
+-
+
-
+
getContextPath+
+ -
+
+ ${getContextPath()} ++
+ -
+
getSetting+
+ -
+
+ ${getSetting("settings.properties", "example.setting", "n/a")} ++
+ -
+
truncateText+
+ -
+
+ ${truncateText("0123456789 123456789 123456789", 20)} ++
+ -
+
localized('label.critical')+
+ - + ${localize("label.critical", "texts/labels")} + +
-
+
localized('label.error')+
+ - + ${localize("label.error", "texts/labels")} + +
-
+
localized('label.ok')+
+ - + ${localize("label.ok", "texts/labels")} + +
-
+
localized('label.warning')+
+ - + ${localize("label.warning", "texts/labels")} + +