Browse Source

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

display-appeal-src-ip
Zankaria 2 months ago
parent
commit
e8f589f6c1
  1. 2
      templates/mod/ban_appeals.html

2
templates/mod/ban_appeals.html

@ -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>

Loading…
Cancel
Save