Ignore:
Timestamp:
Oct 30, 2013, 7:35:08 AM (10 years ago)
Author:
rvelices
Message:

simplified clandar bar template and css (also better alignment)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/month_calendar.tpl

    r24831 r25232  
    1212        {else}
    1313                {foreach from=$bar.items item=item}
    14                 <span class="calItem{if !isset($item.URL)}Empty{/if}"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if}>
    15                 {if isset($item.URL)}
    16                 <a href="{$item.URL}">{$item.LABEL}</a>
     14                {if !isset($item.URL)}
     15                <span class="calItem">{$item.LABEL}</span>
    1716                {else}
    18                 {$item.LABEL}
     17                <a class="calItem"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if} href="{$item.URL}">{$item.LABEL}</a>
    1918                {/if}
    20                 </span>
    2119                {/foreach}
    2220        {/if}
Note: See TracChangeset for help on using the changeset viewer.