aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/mainpage_categories.tpl
blob: b28c619fb2a2a39627cf0053960270d6bf30723c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{* $Id$ *}

<ul class="thumbnailCategories">
  {foreach from=$category_thumbnails item=cat}
  <li>
    <div class="thumbnailCategory">
      <div class="illustration">
        <a href="{$cat.URL}">
          <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}">
        </a>
      </div>
      <div class="description">
        <h3>
          <a href="{$cat.URL}">{$cat.NAME}</a>
          {$cat.ICON}
        </h3>
        {if isset($cat.INFO_DATES) }
        <p>{$cat.INFO_DATES}</p>
        {/if}
        <p>{$cat.CAPTION_NB_IMAGES}</p>
        <p>{$cat.DESCRIPTION}</p>
      </div>
    </div>
  </li>
  {/foreach}
</ul>