From: Stéphane Jacob Date: Sun, 6 Mar 2011 15:33:04 +0000 (+0100) Subject: Fixes broken emails handling in admin pages. X-Git-Tag: xorg/1.1.0~71 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9096e4848221ea2af77a03cc8a9c5f6bfda29c4a;hp=08d33afc257745d9c98b8eabb39c289e1605b0b0;p=platal.git Fixes broken emails handling in admin pages. Signed-off-by: Stéphane Jacob --- diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index c5ab851..1d478a3 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -423,12 +423,12 @@ $(function() { {/if} - {if $mail->panne && $mail->panne neq "0000-00-00"} + {if $mail->broken && $mail->broken_date neq "0000-00-00"} {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} effacer les pannes