X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flistes%2Fmembers.tpl;h=2777da84db5d28d4c67caae15b46ef14f7955ec9;hb=f27c9a007ca453a31e8c7857c10c5b0f963bdf04;hp=831a5c0e7f0f473c1f0f0bf678cbc932a5108f66;hpb=bc4ad6aafdd8c14006a1256370d98dede1083aa3;p=platal.git diff --git a/templates/listes/members.tpl b/templates/listes/members.tpl index 831a5c0..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,47 +86,65 @@ {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}

membres de la liste {if $smarty.get.alpha} - (trier par promo) + (trier par promo) {else} - (trier par nom) + (trier par nom) {/if}

{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}