From 54d7f43bba08ca0fcf7c02b06b7844600ebd961c Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 4 Dec 2011 22:04:20 +0100 Subject: [PATCH] Do not display email info on xnet group member edition if user has no email. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/xnetgrp/membres-edit.tpl | 6 ++++++ 1 file changed, 6 insertions(+) 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}

-- 2.1.4