proper coloring for start/end times
This commit is contained in:
parent
4b6582ac35
commit
2c3eac1f67
@ -36,10 +36,10 @@
|
|||||||
{$event.STATUS.value|default:"0"|number_format:"2"} seconds
|
{$event.STATUS.value|default:"0"|number_format:"2"} seconds
|
||||||
</font>
|
</font>
|
||||||
{else if $event.STATUS.type == 'date'}
|
{else if $event.STATUS.type == 'date'}
|
||||||
{if $event.STATUS.value < $smarty.now - 120}
|
{if ($smarty.now - 180) > $event.STATUS.value}
|
||||||
<font color="orange">
|
|
||||||
{else if $event.STATUS.value < $smarty.now - 180}
|
|
||||||
<font color="red">
|
<font color="red">
|
||||||
|
{else if ($smarty.now - 120) > $event.STATUS.value}
|
||||||
|
<font color="orange">
|
||||||
{else}
|
{else}
|
||||||
<font color="green">
|
<font color="green">
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user