X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fmembers.tpl;h=fc50c268ee8ba9a17beb4fdb4ad7df0d3d4afc06;hb=d4cb8f1fea2a6f2cc2bc0411f94c12195d2c99b2;hp=b75548a0d9f6aa3f8d31f4a23a772b2293173773;hpb=7f12e3b4113791f3372f11572a205925d7bb6b97;p=platal.git diff --git a/templates/lists/members.tpl b/templates/lists/members.tpl index b75548a..fc50c26 100644 --- a/templates/lists/members.tpl +++ b/templates/lists/members.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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} @@ -125,37 +98,28 @@ {/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 $details.own || hasPerms('admin,groupadmin')} + + {/if} + {include file='lists/display_list.tpl' list=$members 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} - {if $x.n|trim}{$x.n}{else}{$x.l}{/if} - {elseif $x.n} - {$x.n} - {else} - {$x.l} - {/if} - - {$x.p} -
+ + {icon name="page_excel" title="Télécharger la liste des membres"} + Télécharger la liste des membres au format Excel + +
+ +{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 + cliquant sur le symbole. +

+{/if} + {/if}