1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
23 <h1>Bilan des Notifications</h1>
26 Cette page récapitule tous les événements que tu surveilles de la semaine écoulée.
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.
36 Tu peux choisir plus finement les données affichées sur cette page.
37 Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration des notifications</a>.
41 {if $smarty.session.token}
42 <a href="carnet/rss/{$smarty.session.hruid}/{$smarty.session.token}/rss.xml" title="Notifications">{icon name=feed title='fil rss'}</a>
46 {foreach from=$notifs item=cat}
47 <fieldset style="width: 75%; margin-left: auto; margin-right: auto">
48 <legend>{$cat.title}</legend>
49 {assign var=date value=false}
50 {foreach from=$cat.users item=user}
51 {assign var=userdate value=$cat.operation->getDate($user)}
52 {if !$date || $date ne $userdate}
56 {assign var=date value=$userdate}
57 <p>Le {$date|date_format} :</p>
61 {if $cat.operation->seen($user,$smarty.session.watch_last)}<strong>{/if}
62 {profile user=$user promo=true}
63 {if $cat.operation->seen($user,$smarty.session.watch_last)}</strong>{/if}
64 {assign var=data value=$cat.operation->getData($user)}
67 {foreach from=$data item=a}
78 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}