X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flistes%2Fmembers.tpl;h=2777da84db5d28d4c67caae15b46ef14f7955ec9;hb=f27c9a007ca453a31e8c7857c10c5b0f963bdf04;hp=c88b2aefd08a47a98f31d6a77300a141bae2ea05;hpb=d1ebc57a6035c4b43153dd85a34cfce19bc33026;p=platal.git diff --git a/templates/listes/members.tpl b/templates/listes/members.tpl index c88b2ae..2777da8 100644 --- a/templates/listes/members.tpl +++ b/templates/listes/members.tpl @@ -58,13 +58,13 @@ {if $details.sub>1} Tu es inscrit sur la liste.
Te désinscrire : - [me désinsiscrire] + {icon name=cross title="me désinsiscrire"} {elseif $details.sub eq 1} Ta demande d'inscription est en cours de validation. {else} Tu n'es pas inscrit.
Demander ton inscription : - [demander mon inscription] + {icon name=add title="demander mon inscription"} {/if} @@ -86,19 +86,28 @@ {if $owners|@count} {foreach from=$owners item=xs key=promo} + {foreach from=$xs item=x name=all} - + + {if $x.p} + + {/if} {/foreach} + {/foreach}
{if $promo}{$promo}{else}non-X{/if} + {if $smarty.foreach.all.first} + {if $promo}{$promo}{else}non-X{/if} + {/if} + - {foreach from=$xs item=x} {if $promo} - {$x.n}
+ {$x.n} {else} - {$x.l}
+ {$x.l} {/if} - {/foreach}
+ {$x.p} +
{/if} @@ -114,19 +123,28 @@ {if $members|@count} {foreach from=$members item=xs key=promo} + {foreach from=$xs item=x name=all} - + + {if $x.p} + + {/if} {/foreach} + {/foreach}
{if $promo}{$promo}{else}non-X{/if} + {if $smarty.foreach.all.first} + {if $promo}{$promo}{else}non-X{/if} + {/if} + - {foreach from=$xs item=x} {if $promo} - {$x.n}
+ {$x.n} {else} - {$x.l}
+ {$x.l} {/if} - {/foreach}
+ {$x.p} +
{/if}