X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flistes%2Fmembers.tpl;h=dc05886e8fd0e7ecd04e78f81e5db86ab9e1ffd8;hb=30fc8ee73a7f6b03645fd38ee12c2f86083b873c;hp=5178b2a50d9579608caf38756fd0966c1d610d29;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git diff --git a/templates/listes/members.tpl b/templates/listes/members.tpl index 5178b2a..dc05886 100644 --- a/templates/listes/members.tpl +++ b/templates/listes/members.tpl @@ -24,7 +24,7 @@ {include file="listes/header_listes.tpl" on=members}

- Liste {$smarty.request.liste} + Liste {$platal->argv[1]}

@@ -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,69 @@ {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} + {elseif $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} + {elseif $x.n} + {$x.n} {else} - {$x.l}
+ {$x.l} {/if} - {/foreach}
+ {$x.p} +
{/if}