[-] FO : fixed bug #PSCFV-4414
This commit is contained in:
1 parent
f44e98292b
commit
5dc2d77f6d
1 file changed
+7
-2
@@ -58,8 +58,13 @@
|
|||||||
|
|
||||||
{if $category->description}
|
{if $category->description}
|
||||||
<div class="cat_desc">
|
<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>
|
<p>{$category->description}</p>
|
||||||
<a href="#" class="lnk_more">{l s='More'}</a>
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
@@ -113,4 +118,4 @@
|
|||||||
{elseif $category->id}
|
{elseif $category->id}
|
||||||
<p class="warning">{l s='This category is currently unavailable.'}</p>
|
<p class="warning">{l s='This category is currently unavailable.'}</p>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
Reference in new issue
Block a user