From b42ded4e277ae7fe5ae52094995aa5711ea6b2ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 13 Nov 2011 15:09:33 +0100 Subject: [PATCH] Fixes group subscription (again). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/xnetgrp/inscrire.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/xnetgrp/inscrire.tpl b/templates/xnetgrp/inscrire.tpl index 792528b..8fe6836 100644 --- a/templates/xnetgrp/inscrire.tpl +++ b/templates/xnetgrp/inscrire.tpl @@ -22,7 +22,7 @@

Demande d'inscription à {$asso->nom}

-{if $user && $is_admin && $show_form} +{if t($user) && $is_admin && $show_form}

Demande de la part de : {$user->fullName()} ({$user->promo()}) @@ -88,10 +88,11 @@ Merci d'avance d'avoir la gentillesse de valider mon inscription. Bien cordialement, {$smarty.session.user->fullname("promo")} +{if $smarty.session.user->hasProfile()} -- Ma fiche sur Polytechnique.org : -https://www.polytechnique.org/profile/{$profile->hrpid} +https://www.polytechnique.org/profile/{$smarty.session.user->hruid}{/if}

-- 2.1.4