From 4a449a285ca591d00a3d4943225a2b922613c981 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 1 Jan 2018 10:03:00 -0500 Subject: [PATCH] Logs viewer bug --- views/logs.tpl | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/views/logs.tpl b/views/logs.tpl index a7ce545bc..10f65bfb4 100644 --- a/views/logs.tpl +++ b/views/logs.tpl @@ -46,14 +46,18 @@ %end "> +%try: +%if line[1] == 'INFO': +blue info circle icon \\ +%elif line[1] == 'WARNING': +yellow warning circle icon \\ +%elif line[1] == 'ERROR': +red bug icon \\ +%end +%except: +%pass +%end +"> \\ %try: {{line[2]}}\\