forked from leftypol/leftypol
ban_appeals.html: do not display the source ip row if there is none
This commit is contained in:
parent
a8ff605571
commit
e8f589f6c1
|
@ -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…
Reference in New Issue
Block a user