ban_appeals.html: do not display the source ip row if there is none

This commit is contained in:
Zankaria 2024-03-15 16:44:44 +01:00
parent a8ff605571
commit e8f589f6c1

View File

@ -18,10 +18,12 @@
<th>{% trans 'Ban mask' %}</th>
<td><a href="/mod.php?/IP/{{ ban.mask }}"</a>{{ ban.mask }}</td>
</tr>
{% if ban.source_ip %}
<tr>
<th>{% trans 'Appeal IP' %}</th>
<td><a href="/mod.php?/IP/{{ ban.source_ip }}"</a>{{ ban.source_ip }}</td>
</tr>
{% endif %}
{% endif %}
<tr>
<th>{% trans 'Reason' %}</th>