Adapts Xorg MLs and aliases handling to new mail chain.
[platal.git] / templates / xnetgrp / annuaire.tpl
index f5a2796..54bcd53 100644 (file)
@@ -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  *}
@@ -30,14 +30,14 @@ Le groupe {$asso->nom} compte {$nb_tot} membres :
   {if $is_admin}
   <li>
     <a href="{$platal->ns}member/new">
-      {icon name=add title="Ajouter un membre"} 
+      {icon name=add title="Ajouter un membre"}
       Ajouter un membre
     </a>
   </li>
   {if $asso->has_ml}
   <li>
     <a href="{$platal->ns}admin/annuaire">
-      {icon name=wand title="Synchroniser"} 
+      {icon name=wand title="Synchroniser"}
       Synchroniser annuaire et listes de diffusion
     </a>
   </li>
@@ -45,13 +45,13 @@ Le groupe {$asso->nom} compte {$nb_tot} membres&nbsp;:
   {/if}
   <li>
     <a href="{$platal->ns}annuaire/csv/{$asso->diminutif}.csv">
-      {icon name=page_excel title="Fichier Excel"} 
+      {icon name=page_excel title="Fichier Excel"}
       Obtenir au format Excel
     </a>
   </li>
   <li>
     <a href="{$platal->ns}annuaire/vcard/photos/{$asso->diminutif}.vcf">
-      {icon name=vcard title="Carte de visite"} 
+      {icon name=vcard title="Carte de visite"}
       Ajouter les membres à ton carnet d'adresse
     </a>
     (<a href="{$platal->ns}annuaire/vcard/{$asso->diminutif}.vcf">sans les photos</a>)
@@ -84,7 +84,7 @@ Le groupe {$asso->nom} compte {$nb_tot} membres&nbsp;:
       {elseif $order eq '-directory_name'}
         <img src="{$platal->baseurl}images/up.png" alt="" title="Tri décroissant" />
       {/if}
-      Prénom NOM
+      NOM Prénom
       </a>
     </th>
     <th>
@@ -110,9 +110,9 @@ Le groupe {$asso->nom} compte {$nb_tot} membres&nbsp;:
       {profile user=$user promo=false}
     </td>
     <td>
-      {if $user->group_perms eq 'admin' && $user->promo()}<strong>{/if}
-      {$user->promo()}
-      {if $user->group_perms eq 'admin' && $user->promo()}</strong>{/if}
+      {if $user->group_perms eq 'admin' && $user->category()}<strong>{/if}
+      {$user->category()|default:"Extérieur"}
+      {if $user->group_perms eq 'admin' && $user->category()}</strong>{/if}
     </td>
     {if $user->group_comm}
     <td>{$user->group_comm}</td>