From: Florent Bruneau Date: Thu, 6 Sep 2007 20:10:33 +0000 (+0200) Subject: Fix minor ergonomy issues concerning the groups and the medals pages X-Git-Tag: xorg/0.9.15~174^2~10 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b545e664faee207d101019fdd067d21bd3c2c682;p=platal.git Fix minor ergonomy issues concerning the groups and the medals pages Signed-off-by: Florent Bruneau --- diff --git a/templates/profile/deco.tpl b/templates/profile/deco.tpl index 87ca768..79d0433 100644 --- a/templates/profile/deco.tpl +++ b/templates/profile/deco.tpl @@ -80,6 +80,7 @@ function add() function remove(id) { $("#medal_" + id).remove(); + update(); } {/literal} diff --git a/templates/profile/groups.tpl b/templates/profile/groups.tpl index cf31e16..db3563f 100644 --- a/templates/profile/groups.tpl +++ b/templates/profile/groups.tpl @@ -53,6 +53,7 @@ function remove(cat, id) { $('#' + cat + '_' + id).remove(); + update(cat); } function add(cat) @@ -65,13 +66,16 @@ + ' ' + ' ' + ' ' - + text + + '
' + + text + + '
' + ' ' + ' cross' + ' ' + ' ' + ''; $('#' + cat).after(html); + update(cat); } //]]> @@ -118,7 +122,9 @@ - {$text} +
+ {$text} +
{icon name="cross" title="Supprimer ce binet"} @@ -139,7 +145,9 @@ - {$text} +
+ {$text} +
{icon name="cross" title="Supprimer ce groupe X"}