From: Michael Tremer Date: Sat, 24 Jan 2026 16:40:21 +0000 (+0000) Subject: dbl: Improve visual of the history on mobile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d624f1efb33ed0e56ba3ce072c1b2774049b4a6;p=ipfire.org.git dbl: Improve visual of the history on mobile Signed-off-by: Michael Tremer --- diff --git a/src/templates/dbl/lists/domain.html b/src/templates/dbl/lists/domain.html index 6bff7c8d..13016d51 100644 --- a/src/templates/dbl/lists/domain.html +++ b/src/templates/dbl/lists/domain.html @@ -113,14 +113,30 @@ {{ _("History") }} - +
{% for event in events %} - {# Timestamp #} - + {# Show the current status #} + {% if event.allows %} + + {% elif event.blocks %} + + {% else %} + + {% end %} {# What happened? #} - {# Show the current status #} - {% if event.allows %} - - {% elif event.blocks %} - - {% else %} - - {% end %} +
+ + + {{ locale.format_date(event.timestamp, shorter=True) }} + + {% end %}
- {{ locale.format_date(event.timestamp, shorter=True) }} - + + {{ _("Allowed") }} + + + + {{ _("Blocked") }} + + + + {{ _("Not Listed") }} + + @@ -138,22 +154,13 @@ {{ _("An exemption was removed by %s") % (event.by or event.source_name) }} {% end %} {% end %} - - {{ _("Allowed") }} - - {{ _("Blocked") }} - - {{ _("Not Listed") }} -