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.tpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
index 226a82c05..0159bf6a4 100644
--- a/template/yoga/mainpage_categories.tpl
+++ b/template/yoga/mainpage_categories.tpl
@@ -14,13 +14,15 @@
<a href="{$cat.URL}">{$cat.NAME}</a>
{$cat.ICON_TS}
</h3>
- {if isset($cat.INFO_DATES) }
- <p>{$cat.INFO_DATES}</p>
- {/if}
- <p>{$cat.CAPTION_NB_IMAGES}</p>
- {if not empty($cat.DESCRIPTION)}
- <p>{$cat.DESCRIPTION}</p>
- {/if}
+ <div class="text">
+ {if isset($cat.INFO_DATES) }
+ <p class="dates">{$cat.INFO_DATES}</p>
+ {/if}
+ <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
+ {if not empty($cat.DESCRIPTION)}
+ <p>{$cat.DESCRIPTION}</p>
+ {/if}
+ </div>
</div>
</div>
</li>