From e8f589f6c16a2a51df19d85e63f135bf8fbee268 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 15 Mar 2024 16:44:44 +0100 Subject: [PATCH] ban_appeals.html: do not display the source ip row if there is none --- templates/mod/ban_appeals.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/mod/ban_appeals.html b/templates/mod/ban_appeals.html index ee3a85ec..08995e10 100644 --- a/templates/mod/ban_appeals.html +++ b/templates/mod/ban_appeals.html @@ -18,10 +18,12 @@ {% trans 'Ban mask' %} {{ ban.mask }} + {% if ban.source_ip %} {% trans 'Appeal IP' %} {{ ban.source_ip }} + {% endif %} {% endif %} {% trans 'Reason' %}