X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fmembers.tpl;h=f266b496f8a1af6e0a7e86ab40ce4ab41b521196;hb=a56d07946f1a18c6615add3030fca02a55a34f57;hp=483c36856a1b436d0c1c487b1cecea1153903e90;hpb=aa7cb8835068676865ffa42628044b482d204119;p=platal.git diff --git a/templates/lists/members.tpl b/templates/lists/members.tpl index 483c368..f266b49 100644 --- a/templates/lists/members.tpl +++ b/templates/lists/members.tpl @@ -85,34 +85,7 @@ {if $owners|@count} - {foreach from=$owners item=xs key=promo} - {foreach from=$xs item=x name=all} - - - - {if $x.p} - - {/if} - - {/foreach} - {/foreach} + {include file='lists/display_list.tpl' list=$owners delete=false no_sort_key='non-X' promo=$smarty.get.alpha}
- {if $smarty.foreach.all.first} - {if $promo}{$promo}{else}non-X{/if} - {/if} - - {if $promo && strpos($x.l, '@') === false} - {if $x.b}{icon name=error}{/if} - {$x.n} - {elseif $x.x} - {$x.n} - {elseif $x.n} - {$x.n} - {else} - {$x.l} - {/if} - - {$x.p} -
{/if} @@ -129,48 +102,17 @@ {if $members|@count} {if $details.own || hasPerms('admin,groupadmin')} - {/if} - - - - {assign var=lostCount value=0} - {foreach from=$members item=users key=promo} - {foreach from=$users item=user name=all} - - - - {if $user.p} - - {/if} - - {/foreach} - {/foreach} + {include file='lists/display_list.tpl' list=$members delete=false no_sort_key='non-X' promo=$smarty.get.alpha}
+
{icon name="page_excel" title="Télécharger la liste des membres"} Télécharger la liste des membres au format Excel
- {if $smarty.foreach.all.first} - {if $promo}{$promo}{else}non-X{/if} - {/if} - - {if $promo && $user.x} - {if $user.b}{assign var=lostCount value=$lostCount+1}{/if} - {profile user=$user.x promo=false} - {elseif $user.x} - {if $user.n|trim}{$x.n}{else}{$user.l}{/if} - {elseif $user.n} - {$user.n} - {else} - {$user.l} - {/if} - - {$user.p} -
-{if $lostCount > 0} +{if t($lostUsers)}

{icon name=error} Un camarade signalé par ce symbole n'a plus d'adresse de redirection et ne peut donc plus être contacté via son adresse polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en