From: Stéphane Jacob Date: Sun, 4 Dec 2011 21:04:20 +0000 (+0100) Subject: Do not display email info on xnet group member edition if user has no email. X-Git-Tag: xorg/1.1.5~69 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=54d7f43bba08ca0fcf7c02b06b7844600ebd961c;p=platal.git Do not display email info on xnet group member edition if user has no email. Signed-off-by: Stéphane Jacob --- diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index acad698..a5ef807 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -49,7 +49,9 @@

Édition du profil de {profile user=$user groupperms=false sex=false promo=true} + {if $user->bestEmail()} {icon name=email title="mail"} + {/if}

@@ -213,6 +215,7 @@ {/if} + {if $user->bestEmail()}

Abonnement aux listes

@@ -261,6 +264,9 @@ {/foreach}
Pas d'alias pour ce groupe
+ {else} +

Cette personne n'a pas d'email renseigné sur le site et ne peut donc pas être inscrite aux listes de diffusions et aux alias du groupe.

+ {/if}