Allows to easily come back to the full view once in the main address view
[platal.git] / templates / include / form.valid.mark.tpl
index 6fa9ebb..346a5fb 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  *}
 {*                                                                        *}
 {**************************************************************************}
 
-{if $valid->m_relance neq '0000-00-00'}
-{if $valid->m_relance neq ''} {* provided for backward compatibility, may disappear in the future *}
+{if $valid->m_relance neq '0000-00-00' && $valid->m_relance neq ''}
   <tr class="pair">
-    <td class="titre">Dernière relance le :</td>
+    <td class="titre">Dernière relance le&nbsp;:</td>
     <td>{$valid->m_relance|date_format}</td>
   </tr>
 {/if}
-{/if}
 <tr class="pair">
   <td class="titre">Marketing sur</td>
   <td><a href='marketing/private/{$valid->m_id}'>{$valid->m_prenom} {$valid->m_nom} ({$valid->m_promo})</a></td>
 </tr>
+{if $valid->m_type neq 'default'}
+<tr class="pair">
+  <td class="titre">Type de message</td>
+  <td>{$valid->m_type} {$valid->m_data}</td>
+</tr>
+{/if}
 <tr class="pair">
-  <td class="titre">Mail deviné</td>
+  <td class="titre">Mail deviné</td>
   <td>{$valid->m_email}</td>
 </tr>
 <tr class="pair">
@@ -41,4 +45,4 @@
   <td>{if $valid->perso}perso{else}par poly.org{/if}</td>
 </tr>
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}