From 3d169a8e4186cd14db349cecc88db4a531b5b60c Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 28 Jan 2018 14:10:53 +0100 Subject: [PATCH] Improve logs display --- logs/templates/logs/entries.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/templates/logs/entries.html b/logs/templates/logs/entries.html index 7855302..96c67c3 100644 --- a/logs/templates/logs/entries.html +++ b/logs/templates/logs/entries.html @@ -11,7 +11,7 @@
{% for entry in entries%} - {{ entry.created|date:"H:i:s" }} <{{ entry.nick }}> {{ entry.content }}
+ {{ entry.created|date:"H:i:s" }} {% if entry.nick %}<{{ entry.nick }}>{% else %}*{% endif %} {{ entry.content }}
{% endfor %}