From 3893b16a7b1ba76ff32f3c90434c52439dcb1674 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 22 Oct 2010 18:33:36 +0200 Subject: [PATCH] bacula-web: Fixed Smarty typo in volumes.tpl --- gui/bacula-web/templates/volumes.tpl | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/gui/bacula-web/templates/volumes.tpl b/gui/bacula-web/templates/volumes.tpl index b3f88a8862..e09133f118 100644 --- a/gui/bacula-web/templates/volumes.tpl +++ b/gui/bacula-web/templates/volumes.tpl @@ -18,7 +18,7 @@   - + {$current} @@ -40,14 +40,18 @@ {$current3.0} {$current3.1|fsize_format|default:0} {$current3.4} - - {if $current3.6|date_format:"%Y" <= "1979"}-- - {else}{$current3.6|date_format:"%Y/%m/%d"} + + {if $current3.5 == "0000-00-00 00:00:00"} + -- + {else} + {$current3.5|date_format:"%Y/%m/%d"} {/if} -- 2.39.5