[-] FO : fixed bug #PSCFV-4414
This commit is contained in:
@@ -58,8 +58,13 @@
|
||||
|
||||
{if $category->description}
|
||||
<div class="cat_desc">
|
||||
{if strlen($category->description) > 120}
|
||||
<p id="category_description_short">{$category->description|truncate:120}</p>
|
||||
<p id="category_description_full" style="display:none">{$category->description}</p>
|
||||
<a href="#" onclick="$('#category_description_short').hide(); $('#category_description_full').show(); $(this).hide(); return false;" class="lnk_more">{l s='More'}</a>
|
||||
{else}
|
||||
<p>{$category->description}</p>
|
||||
<a href="#" class="lnk_more">{l s='More'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -113,4 +118,4 @@
|
||||
{elseif $category->id}
|
||||
<p class="warning">{l s='This category is currently unavailable.'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user