diff --git a/public/templates/mmcFE/admin/monitoring/default.tpl b/public/templates/mmcFE/admin/monitoring/default.tpl index 4c272c35..07831059 100644 --- a/public/templates/mmcFE/admin/monitoring/default.tpl +++ b/public/templates/mmcFE/admin/monitoring/default.tpl @@ -36,10 +36,10 @@ {$event.STATUS.value|default:"0"|number_format:"2"} seconds {else if $event.STATUS.type == 'date'} - {if $event.STATUS.value < $smarty.now - 120} - - {else if $event.STATUS.value < $smarty.now - 180} + {if ($smarty.now - 180) > $event.STATUS.value} + {else if ($smarty.now - 120) > $event.STATUS.value} + {else} {/if}