[-] FO : fixed bug #PSCFV-4414

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17579 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-09-27 09:56:05 +00:00
parent e9c0150146
commit 6aeb574863
+7 -2
View File
@@ -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}