X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fvalidation.tpl;h=d0135a74133714e71d88c0b4062ebc1350336858;hb=e86e920ff705fa80cc293df02be9e8e26a50884e;hp=b043382f5323a0853c5623512bf32bba474e8ce6;hpb=4d9b63f8ec02d84eabd554234a32718758bf9e21;p=platal.git diff --git a/templates/admin/validation.tpl b/templates/admin/validation.tpl index b043382..d0135a7 100644 --- a/templates/admin/validation.tpl +++ b/templates/admin/validation.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -51,10 +51,12 @@ function toggleField(name, id, obj) { {/if} {$valid->user->fullName("promo")} + {if $valid->user->hasProfile()} + {/if} - {if $valid->profile && !$valid->userIsProfileOwner} + {if t($valid->profile) && !$valid->userIsProfileOwner} Profil concerné :