aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/month_calendar.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-10-30 06:35:08 +0000
committerrvelices <rv-github@modusoptimus.com>2013-10-30 06:35:08 +0000
commit5ba350a8dc852caeafd626620d8a97a45e19275c (patch)
tree52b38462775376e9894dc87854cbe201b55e885f /themes/default/template/month_calendar.tpl
parente0518947f3bdf59c85f04366c6e161132a6c1c70 (diff)
simplified clandar bar template and css (also better alignment)
git-svn-id: http://piwigo.org/svn/trunk@25232 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/month_calendar.tpl')
-rw-r--r--themes/default/template/month_calendar.tpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl
index c3af37818..9fbd8a1fa 100644
--- a/themes/default/template/month_calendar.tpl
+++ b/themes/default/template/month_calendar.tpl
@@ -11,13 +11,11 @@
&nbsp;
{else}
{foreach from=$bar.items item=item}
- <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}>
- {if isset($item.URL)}
- <a href="{$item.URL}">{$item.LABEL}</a>
+ {if !isset($item.URL)}
+ <span class="calItem">{$item.LABEL}</span>
{else}
- {$item.LABEL}
+ <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>
{/if}
- </span>
{/foreach}
{/if}
</div>