X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fminifiche.tpl;h=680af1ca9261e0dae3335d333c4c5ad634dfba50;hb=69fffc4bfc98948ba2357c3d0b1599e90190965a;hp=a45f1f39b8691e1404dd2246b7e660556eff13b4;hpb=05fef626d9f2e95d367e68b739f76d92f9a3e89b;p=platal.git diff --git a/templates/include/minifiche.tpl b/templates/include/minifiche.tpl index a45f1f3..680af1c 100644 --- a/templates/include/minifiche.tpl +++ b/templates/include/minifiche.tpl @@ -28,6 +28,7 @@ {assign var=hasowner value=false} {assign var=registered value=false} {else} + {assign var=hasowner value=true} {if $user->state neq 'pending'} {assign var=registered value=true} {else} @@ -35,7 +36,8 @@ {/if} {/if} {else} - {* Without auth, all profiles appear as registered *} + {* Without auth, all profiles appear as registered and with owner *} + {assign var=hasowner value=true} {assign var=registered value=true} {assign var=withAuth value=false} {/if} @@ -76,7 +78,7 @@ {if $withAuth}