Fixes broken emails handling in admin pages.
authorStéphane Jacob <sj@m4x.org>
Sun, 6 Mar 2011 15:33:04 +0000 (16:33 +0100)
committerStéphane Jacob <sj@m4x.org>
Sun, 6 Mar 2011 19:07:31 +0000 (20:07 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/admin/user.tpl

index c5ab851..1d478a3 100644 (file)
@@ -423,12 +423,12 @@ $(function() {
         {/if}
       </td>
     </tr>
-    {if $mail->panne && $mail->panne neq "0000-00-00"}
+    {if $mail->broken && $mail->broken_date neq "0000-00-00"}
     <tr class="{$class}">
       <td colspan="4" class="smaller" style="color: #f00">
         {icon name=error title="Panne"}
-        Panne de {$mail->display_email} le {$mail->panne|date_format}
-        {if $mail->panne neq $mail->last}confirmée le {$mail->last|date_format}{/if}
+        Panne de {$mail->display_email} le {$mail->broken_date|date_format}
+        {if $mail->broken_date neq $mail->last}confirmée le {$mail->last|date_format}{/if}
       </td>
       <td class="action">
         <a href="javascript:clean_fwd('{$mail->email}')">effacer les pannes</a>