From: Stéphane Jacob Date: Fri, 22 Apr 2011 14:30:44 +0000 (+0200) Subject: Do not show last profile modification for unregistered users. X-Git-Tag: xorg/1.1.1~66 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8e5c605f090cf1267e14c649d6a45970a7836ae7;p=platal.git Do not show last profile modification for unregistered users. Signed-off-by: Stéphane Jacob --- diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl index 956dfc4..bb33904 100644 --- a/templates/profile/profile.tpl +++ b/templates/profile/profile.tpl @@ -122,7 +122,7 @@ $($.closeOnEsc); {/if} - {if $logged && $view eq 'private'} + {if $logged && $view eq 'private' && $owner && $owner->state eq 'active'}
Fiche mise à jour
le {$profile->last_change|date_format}