Name token search must be a prefix search, not full text.
[platal.git] / templates / carnet / panel.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
9f5bd98e 3{* Copyright (C) 2003-2010 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 26Cette page récapitule tous les événements que tu surveilles de la semaine écoulée.
0337d704 27</p>
28
29<p>
a7de4ef7 30Les lignes en gras sont les événements qui ont été porté à notre connaissance
31depuis ta dernière connexion sur cette page.<br />
32Tu peux les <a href="carnet/panel?read={$now}">marquer comme vus</a> sans te déconnecter.
0337d704 33</p>
34
35<p>
a7de4ef7 36Tu peux choisir plus finement les données affichées sur cette page.
252ca78d 37Il 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">
84fc72ff
FB
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>
0337d704 43{/if}
44</div>
45
009b8ab7
FB
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}
53 {if $date}
54 </ul>
0337d704 55 {/if}
009b8ab7
FB
56 {assign var=date value=$userdate}
57 <p>Le {$date|date_format}&nbsp;:</p>
58 <ul>
a2a1c2f2 59 {/if}
009b8ab7
FB
60 <li>
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}
ee682285
FB
64 {assign var=data value=$cat.operation->getData($user)}
65 {if $data}
66 <ul>
67 {foreach from=$data item=a}
68 <li>{$a}</li>
69 {/foreach}
70 </ul>
71 {/if}
009b8ab7
FB
72 </li>
73 {/foreach}
74 </ul>
75</fieldset>
0337d704 76{/foreach}
77
a7de4ef7 78{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}