Does not display user and profile name when they are the same person in validation...
authorStéphane Jacob <sj@m4x.org>
Sun, 4 Jul 2010 23:08:47 +0000 (01:08 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 5 Jul 2010 08:00:24 +0000 (10:00 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/admin/validation.tpl

index 924bc0a..6f4f833 100644 (file)
@@ -51,7 +51,7 @@ function toggleField(name, id, obj) {
       </a>
     </td>
   </tr>
-  {if $valid->profile}
+  {if $valid->profile && !$valid->userIsProfileOwner}
   <tr>
     <td class="titre" style="width: 20%">Profil concerné&nbsp;:</td>
     <td>