X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fmembers.tpl;h=adaa262f072859295b88d12ce1ae79e296512057;hb=0afc098bcd8218a807ecdc51857143e2aae6e662;hp=b0750754ec822c1ba5c3685ee5f90644371189bf;hpb=a7c29df3b9bf8f3c3b23fec0f1d2feb814cb61fe;p=platal.git diff --git a/templates/lists/members.tpl b/templates/lists/members.tpl index b075075..adaa262 100644 --- a/templates/lists/members.tpl +++ b/templates/lists/members.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,42 +29,42 @@ - + - + - + - + - + - + - + @@ -95,6 +95,7 @@
Adresse Adresse : {mailto address=$details.addr}
Sujet Sujet : {$details.desc|smarty:nodefaults}
Visibilité Visibilité : {if $details.priv eq 0}publique{elseif $details.priv eq 1}privée{else}admin{/if}
Diffusion Diffusion : {if $details.diff eq 2}modérée{elseif $details.diff}restreinte{else}libre{/if}
Inscription Inscription : {if $details.ins}modérée{else}libre{/if}
Nb. membres:Nb. membres : {$nb_m|default:"0"}
Ton statut:Ton statut : {if $details.sub>1} Tu es inscrit sur la liste.
Te désinscrire : - {icon name=cross title="me désinsiscrire"} + {icon name=cross title="me désinscrire"} {elseif $details.sub eq 1} Ta demande d'inscription est en cours de validation. {else} Tu n'es pas inscrit.
Demander ton inscription : - {icon name=add title="demander mon inscription"} + {icon name=add title="demander mon inscription"} {/if}
{if $promo && strpos($x.l, '@') === false} + {if $x.b}{icon name=error}{/if} {$x.n} {elseif $x.x} {$x.n} @@ -124,8 +125,20 @@ {/if} + {if $members|@count} + {if $details.own || hasPerms('admin,groupadmin')} + + {/if} + + + {foreach from=$members item=xs key=promo} {foreach from=$xs item=x name=all} @@ -136,9 +149,10 @@
+ + {icon name="page_excel" title="Télécharger la liste des membres"} + Télécharger la liste des membres au format Excel + +
{if $promo && strpos($x.l, '@') === false} + {if $x.b}{icon name=error}{/if} {$x.n} {elseif $x.x} - {$x.n} + {if $x.n|trim}{$x.n}{else}{$x.l}{/if} {elseif $x.n} {$x.n} {else}