From 7a94fab09b262164e327714fa70909c13ace394c Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 15 Sep 2007 15:20:51 +0200 Subject: [PATCH] Close #665: Fix alignment of the number of entries Signed-off-by: Florent Bruneau --- ChangeLog | 1 + templates/core/plset.tpl | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ac484e..393725f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ Bug/Wish: - #682: Can quick search in contact list -FRU * Core: + - #665: Fix text alignment -FRU - #674: MiniWiki xhtml validation -FRU - #678: PlUpload filename detection -FRU - #690: Improves SMTP pass privacy policy -FRU diff --git a/templates/core/plset.tpl b/templates/core/plset.tpl index 511fbca..9aff0a7 100644 --- a/templates/core/plset.tpl +++ b/templates/core/plset.tpl @@ -21,16 +21,7 @@ {**************************************************************************}
-

- {if !$plset_count} - Aucune entrée - {elseif $plset_count eq 1} - 1 entrée - {else} - {$plset_count} entrées - {/if} -

-

+

{$plset_mods[$plset_mod]} {if $plset_mods|@count > 1}[ {assign var=has_prev value=false} @@ -44,6 +35,15 @@ ] {/if}

+

+ {if !$plset_count} + Aucune entrée + {elseif $plset_count eq 1} + 1 entrée + {else} + {$plset_count} entrées + {/if} +

-- 2.1.4