From 6aeb5748630cd34c9d7b1f278a733c886cbf173d Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 27 Sep 2012 09:56:05 +0000 Subject: [PATCH] [-] FO : fixed bug #PSCFV-4414 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17579 b9a71923-0436-4b27-9f14-aed3839534dd --- themes/default/category.tpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/themes/default/category.tpl b/themes/default/category.tpl index 87b9eca7d..85b11d2a0 100644 --- a/themes/default/category.tpl +++ b/themes/default/category.tpl @@ -58,8 +58,13 @@ {if $category->description}
+ {if strlen($category->description) > 120} +

{$category->description|truncate:120}

+ + {l s='More'} + {else}

{$category->description}

- {l s='More'} + {/if}
{/if} @@ -113,4 +118,4 @@ {elseif $category->id}

{l s='This category is currently unavailable.'}

{/if} -{/if} \ No newline at end of file +{/if}