From: Florent Bruneau Date: Sat, 28 Jun 2008 12:21:26 +0000 (+0200) Subject: Fix title of the member edition page if no name is defined. X-Git-Tag: xorg/0.9.17~84 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=24fb71c06fbb58f7c68bad3ee3dfb3340ee6dcf0;p=platal.git Fix title of the member edition page if no name is defined. Signed-off-by: Florent Bruneau --- diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 0dc6347..76c8045 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -47,7 +47,7 @@

- Édition du profil de {$user.prenom} {$user.nom} + Édition du profil de {if "`$user.prenom` `$user.nom`"|trim}{$user.prenom} {$user.nom}{else}{$user.email}{/if} {if $user.origine eq 'X'} (X{$user.promo}) {icon name=user_suit title="fiche"}