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>
|
<th>{% trans 'Ban mask' %}</th>
|
||||||
<td><a href="/mod.php?/IP/{{ ban.mask }}"</a>{{ ban.mask }}</td>
|
<td><a href="/mod.php?/IP/{{ ban.mask }}"</a>{{ ban.mask }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% if ban.source_ip %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans 'Appeal IP' %}</th>
|
<th>{% trans 'Appeal IP' %}</th>
|
||||||
<td><a href="/mod.php?/IP/{{ ban.source_ip }}"</a>{{ ban.source_ip }}</td>
|
<td><a href="/mod.php?/IP/{{ ban.source_ip }}"</a>{{ ban.source_ip }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans 'Reason' %}</th>
|
<th>{% trans 'Reason' %}</th>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user