From: Davide Franco Date: Fri, 22 Oct 2010 16:33:36 +0000 (+0200) Subject: bacula-web: Fixed Smarty typo in volumes.tpl X-Git-Tag: Release-5.2.1~996 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3893b16a7b1ba76ff32f3c90434c52439dcb1674;p=bacula%2Fbacula bacula-web: Fixed Smarty typo in volumes.tpl --- 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}