Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
8d84c630 | 3 | {* Copyright (C) 2003-2009 Polytechnique.org *} |
0337d704 | 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>Bilan des Notifications</h1> | |
24 | ||
25 | <p> | |
483fb312 | 26 | Cette page récapitule tous les événements que tu surveilles de la semaine écoulée. |
0337d704 | 27 | </p> |
28 | ||
29 | <p> | |
a7de4ef7 | 30 | Les lignes en gras sont les événements qui ont été porté à notre connaissance |
31 | depuis ta dernière connexion sur cette page.<br /> | |
32 | Tu peux les <a href="carnet/panel?read={$now}">marquer comme vus</a> sans te déconnecter. | |
0337d704 | 33 | </p> |
34 | ||
35 | <p> | |
a7de4ef7 | 36 | Tu peux choisir plus finement les données affichées sur cette page. |
252ca78d | 37 | Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration des notifications</a>. |
0337d704 | 38 | </p> |
39 | ||
40 | <div class="right"> | |
41 | {if $smarty.session.core_rss_hash} | |
7912097e | 42 | <a href="carnet/rss/{$smarty.session.hruid}/{$smarty.session.core_rss_hash}/rss.xml" title="Notifications">{icon name=feed title='fil rss'}</a> |
0337d704 | 43 | {/if} |
44 | </div> | |
45 | ||
46 | {foreach from=$notifs->_data item=c key=cid} | |
47 | <h2>{if ($c|@count) > 1} | |
e8439508 | 48 | {$notifs->_cats[$cid].mail} : |
0337d704 | 49 | {else} |
50 | {foreach from=$c item=promo} | |
51 | {if ($promo|@count) > 1} | |
e8439508 | 52 | {$notifs->_cats[$cid].mail} : |
0337d704 | 53 | {else} |
1430b1f1 VZ |
54 | {if $promo[0].sexe} |
55 | {$notifs->_cats[$cid].mail_sg_xette} : | |
56 | {else} | |
57 | {$notifs->_cats[$cid].mail_sg} : | |
58 | {/if} | |
0337d704 | 59 | {/if} |
60 | {/foreach} | |
61 | {/if}</h2> | |
62 | ||
63 | <br /> | |
64 | ||
65 | <table class='tinybicol'> | |
66 | {foreach from=$c key=p item=promo} | |
67 | {section name=row loop=$promo} | |
68 | <tr {if ( $promo[row].known > $smarty.session.watch_last ) || ( $promo[row].date eq $today ) }style="font-weight: bold"{/if}> | |
a2a1c2f2 | 69 | <td class='titre' style="width:15%" {if $promo[row].data}rowspan="2"{/if}>{if $smarty.section.row.first}{$p}{/if}</td> |
0337d704 | 70 | <td> |
71 | {if $promo[row].inscrit} | |
7b2413f6 | 72 | <a href="profile/{$promo[row].bestalias}" class="popup2"> |
0337d704 | 73 | {$promo[row].prenom} {$promo[row].nom} |
74 | </a> | |
75 | {if !$promo[row].contact} | |
e6bf9216 | 76 | <a href="carnet/contacts?action=ajouter&user={$promo[row].bestalias}&token={xsrf_token}">{* |
a7de4ef7 | 77 | *}{icon name=add title="ajouter à mes contacts"}</a> |
0337d704 | 78 | {/if} |
79 | {else} | |
80 | {$promo[row].prenom} {$promo[row].nom} | |
81 | {/if} | |
82 | </td> | |
06a77cff | 83 | <td style="width:25%"> |
0337d704 | 84 | {$promo[row].date|date_format} |
85 | </td> | |
a2a1c2f2 | 86 | {if $promo[row].data} |
06a77cff | 87 | </tr><tr><td colspan="2">{$promo[row].data|smarty:nodefaults}</td> |
a2a1c2f2 | 88 | {/if} |
0337d704 | 89 | </tr> |
90 | {/section} | |
91 | {/foreach} | |
92 | </table> | |
93 | ||
94 | <br /> | |
95 | {/foreach} | |
96 | ||
97 | ||
a7de4ef7 | 98 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |