mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
related to #1755 Fixing no url problem when title doesn't exist
This commit is contained in:
parent
5aa3803a68
commit
d2ca89dfb7
1 changed files with 3 additions and 3 deletions
|
@ -11,10 +11,10 @@
|
|||
{'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)}
|
||||
{/if}
|
||||
<li>
|
||||
{if isset($cat.url) and isset($cat.TITLE)}
|
||||
<a href="{$cat.url}" title="{$cat.TITLE}">{$cat.name}</a>
|
||||
{if isset($cat.TITLE)}
|
||||
<a href="{if isset($cat.url)}{$cat.url}{/if}" title="{$cat.TITLE}">{$cat.name}</a>
|
||||
{else}
|
||||
{$cat.name}
|
||||
<a href="{if isset($cat.url)}{$cat.url}{/if}">{$cat.name}</a>
|
||||
{/if}
|
||||
{if isset($cat.count_images) and $cat.count_images > 0}
|
||||
<span class="badge" title="{$cat.count_images|translate_dec:'%d photo':'%d photos'}">{$cat.count_images}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue