Integrates external readers to the rss feeds and the iCal calendars.
[platal.git] / templates / carnet / panel.tpl
index 290109f..f7baa37 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 <h1>Bilan des Notifications</h1>
 
 <p>
-Cette page récapitule tous les évènements que tu surveilles de la semaine écoulée
+Cette page récapitule tous les événements que tu surveilles de la semaine écoulée.
 </p>
 
 <p>
-Les lignes en gras sont les événements qui ont été porté à notre connaissance
-depuis ta dernière connexion sur cette page.<br />
-Tu peux les <a href="carnet/panel?read={$now}">marquer comme vus</a> sans te déconnecter.
+Les lignes en gras sont les événements qui ont été porté à notre connaissance
+depuis ta dernière connexion sur cette page.<br />
+Tu peux les <a href="carnet/panel?read={$now}">marquer comme vus</a> sans te déconnecter.
 </p>
 
 <p>
-Tu peux choisir plus finement les données affichées sur cette page.
-Il faut pour celà se rendre sur la page de <a href='carnet/notifs'>configuration des notifications</a>.
+Tu peux choisir plus finement les données affichées sur cette page.
+Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration des notifications</a>.
 </p>
 
 <div class="right">
 {if $smarty.session.core_rss_hash}
-<a href='carnet/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='images/rssicon.gif' alt='fil rss' /></a>
+<a href="carnet/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml" title="Notifications">{icon name=feed title='fil rss'}</a>
 {/if}
 </div>
 
 {foreach from=$notifs->_data item=c key=cid}
 <h2>{if ($c|@count) > 1}
-{$notifs->_cats[$cid].mail} :
+{$notifs->_cats[$cid].mail}&nbsp;:
 {else}
   {foreach from=$c item=promo}
     {if ($promo|@count) > 1}
-      {$notifs->_cats[$cid].mail} :
+      {$notifs->_cats[$cid].mail}&nbsp;:
     {else}
-      {$notifs->_cats[$cid].mail_sg} :
+      {$notifs->_cats[$cid].mail_sg}&nbsp;:
     {/if}
   {/foreach}
 {/if}</h2>
@@ -62,7 +62,7 @@ Il faut pour cel
   {foreach from=$c key=p item=promo}
   {section name=row loop=$promo}
   <tr {if ( $promo[row].known > $smarty.session.watch_last ) || ( $promo[row].date eq $today ) }style="font-weight: bold"{/if}>
-    <td class='titre' style="width:15%">{if $smarty.section.row.first}{$p}{/if}</td>
+    <td class='titre' style="width:15%" {if $promo[row].data}rowspan="2"{/if}>{if $smarty.section.row.first}{$p}{/if}</td>
     <td>
       {if $promo[row].inscrit}
       <a href="profile/{$promo[row].bestalias}" class="popup2">
@@ -70,16 +70,18 @@ Il faut pour cel
       </a>
       {if !$promo[row].contact}
       <a href="carnet/contacts?action=ajouter&amp;user={$promo[row].bestalias}">{*
-        *}<img src="images/ajouter.gif" alt="ajouter à mes contacts" />{*
-      *}</a>
+        *}{icon name=add title="ajouter à mes contacts"}</a>
       {/if}
       {else}
       {$promo[row].prenom} {$promo[row].nom}
       {/if}
     </td>
-    <td style="width:25%">
+    <td style="width:25%" {if $promo[row].data}rowspan="2"{/if}>
       {$promo[row].date|date_format}
     </td>
+    {if $promo[row].data}
+    <tr><td>{$promo[row].data|smarty:nodefaults}</td></tr>
+    {/if}
   </tr>
   {/section}
   {/foreach}
@@ -89,4 +91,4 @@ Il faut pour cel
 {/foreach}
 
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}