aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mainpage_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/mainpage_categories.tpl')
-rw-r--r--template/yoga/mainpage_categories.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
index e1cc953ff..6b96167e5 100644
--- a/template/yoga/mainpage_categories.tpl
+++ b/template/yoga/mainpage_categories.tpl
@@ -12,7 +12,9 @@
<div class="description">
<h3>
<a href="{$cat.URL}">{$cat.NAME}</a>
- {$cat.ICON_TS}
+ {if !empty($cat.icon_ts)}
+ <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)" />
+ {/if}
</h3>
<div class="text">
{if isset($cat.INFO_DATES) }