Always shows a warning in miniche when a user has no redirection left.
authorStéphane Jacob <sj@m4x.org>
Sun, 11 Jul 2010 13:50:01 +0000 (15:50 +0200)
committerStéphane Jacob <sj@m4x.org>
Sun, 11 Jul 2010 13:50:01 +0000 (15:50 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/include/minifiche.tpl

index f593af7..d41a48c 100644 (file)
     {assign var=address value=$profile->getMainAddress()}
     {assign var=web     value=$profile->getWebSite()}
     {assign var=job     value=$profile->getMainJob()}
-    {if $web || $profile->mobile || ($address && $address->country) || $job || !$registered}
+    {if $web || $profile->mobile || ($address && $address->country) || $job || !$registered || $user->lost}
     <table cellspacing="0" cellpadding="0">
       {if $web}
       <tr>