97651a1b1b3dbfaad27e12651c971a6959f3d54b
[platal.git] / templates / xnetgrp / annuaire.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <h1>{$asso->nom}&nbsp;: Annuaire du groupe </h1>
24
25 <p class="descr">
26 Le groupe {$asso->nom} compte {if t($full_count)}{$full_count}{elseif $plset_total_count}{$plset_total_count}{else}{$plset_count}{/if} membres{if !t($full_count)}.{else}, dont {if $plset_total_count}{$plset_total_count}{else}{$plset_count}{/if} dans le {$plset_mods.$plset_mod|lower}.{/if}
27 </p>
28
29 <ul class="descr">
30   {if $is_admin}
31   <li>
32     <a href="{$platal->ns}member/new">
33       {icon name=add title="Ajouter un membre"}
34       Ajouter un membre
35     </a>
36   </li>
37   <li>
38     <a href="{$platal->ns}directory/sync">
39       {icon name=arrow_refresh title="Synchroniser avec les listes"}
40       Synchroniser avec les listes
41     </a>
42   </li>
43   <li>
44     <a href="{$platal->ns}directory/unact">
45       {icon name=group_gear title="Lister les membres du groupe sans compte actif"}
46       Lister les membres du groupe sans compte actif
47     </a>
48   </li>
49   <li>
50     <a href="{$platal->ns}directory/awact">
51       {icon name=group_gear title="Lister les membres du groupe ayant un compte en attente d'activation"}
52       Lister les membres du groupe ayant un compte en attente d'activation
53     </a>
54   </li>
55   {if $asso->has_ml}
56   <li>
57     <a href="{$platal->ns}admin/annuaire">
58       {icon name=wand title="Synchroniser"}
59       Synchroniser annuaire et listes de diffusion
60     </a>
61   </li>
62   {/if}
63   {/if}
64   {if hasPerm('admin')}
65   <li>
66     <a href="{$platal->ns}former_users">
67       {icon name=status_offline title="Anciens membres du groupe"}
68       Anciens membres du groupe
69     </a>
70   </li>
71   {/if}
72   <li>
73     {include file="include/csv.tpl" url="`$platal->ns`annuaire/csv/`$asso->diminutif`.csv"}
74   </li>
75   <li>
76     <a href="{$platal->ns}annuaire/vcard/photos/{$asso->diminutif}.vcf">
77       {icon name=vcard title="Carte de visite"}
78       Ajouter les membres à ton carnet d'adresse
79     </a>
80     (<a href="{$platal->ns}annuaire/vcard/{$asso->diminutif}.vcf">sans les photos</a>)
81   </li>
82 </ul>
83
84 <p class="center">
85 [<a href="{$platal->ns}{$plset_base}/{$plset_mod}{$plset_args}" {if !$only_admin}class="erreur"{/if}>tous les membres</a>]
86 [<a href="{$platal->ns}{$plset_base}/admins/{$plset_mod}{$plset_args}" {if $only_admin}class="erreur"{/if}>animateurs</a>]
87 </p>
88
89 {include core=plset.tpl}
90
91 {if $lostUsers}
92 <p class="smaller">
93   {icon name=error}&nbsp;Un camarade signalé par ce symbole n'a plus d'adresse de redirection et ne peut donc
94   plus être contacté via son adresse polytechnique.org. Si tu connais sa nouvelle adresse, tu peux nous la communiquer en
95   cliquant sur le symbole.
96 </p>
97 {/if}
98
99 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}