Merge branch 'xorg/maint'
[platal.git] / templates / profile / groupesx.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2014 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>Mes groupes X sur Polytechnique.net</h1>
24
25 <p class="center">
26 [<a href="http://www.polytechnique.net/login/plan">Tous les groupes X</a>]
27 </p>
28
29 {foreach from=$assos item="asso"}
30 <div style="width:48%;float:left" >
31 <fieldset style="margin:0.6em">
32     <legend style="padding:4px"><strong><a href="http://www.polytechnique.net/login/{$asso.diminutif}">{$asso.nom}</a></strong></legend>
33     {if $asso.has_logo}
34     <a href="http://www.polytechnique.net/login/{$asso.diminutif}" style="width: 30%; display: block; float: right; ">
35       <img alt="[ LOGO ]" src="{$globals->baseurl}/groupes-x/logo/{$asso.asso_id}" style="width: 100%" />
36     </a>
37     {/if}
38     <ul style="padding-top:0px;padding-bottom:0px">
39         <li><a href="http://www.polytechnique.net/{$asso.diminutif}/annuaire">annuaire</a></li>
40         <li><a href="http://www.polytechnique.net/{$asso.diminutif}/trombi">trombino</a></li>
41         {if $asso.lists}
42             <li><a href="http://www.polytechnique.net/{$asso.diminutif}/lists">listes de diffusion</a></li>
43         {/if}
44         {if $asso.events}
45             <li><a href="http://www.polytechnique.net/{$asso.diminutif}/events">{$asso.events} événement{if $asso.events > 1}s{/if}</a></li>
46         {/if}
47         {if !$asso.lists}
48             <li style="display:block">&nbsp;</li>
49         {/if}
50         {if !$asso.events}
51             <li style="display:block">&nbsp;</li>
52         {/if}
53     </ul>
54 </fieldset>
55 </div>
56 {/foreach}
57
58 {* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}