Fixes homonyms handling.
[platal.git] / templates / include / plview.groupmember.tpl
index f22449b..f023d6a 100644 (file)
     <th>Nom</th>
     <th>Promo</th>
     <th colspan="2">Infos</th>
-    {if $is_admin}
+    {if $is_admin && !t($groupmember_noadmin)}
       <th>Actions</th>
     {/if}
   </tr>
   {assign var=lostUsers value=false}
   {foreach from=$set item=user}
     {if $user->lost}{assign var=lostUsers value=true}{/if}
-    {include file="include/plview.groupmember.entry.tpl" user=$user}
+    {include file="include/plview.groupmember.entry.tpl" user=$user|get_user}
   {/foreach}
 </table>