Display split ban mask and appeal IP

This commit is contained in:
Zankaria 2024-03-15 14:52:16 +01:00
parent 0b7161a588
commit a8ff605571
2 changed files with 7 additions and 3 deletions

View file

@ -15,9 +15,13 @@
</tr>
{% if mod|hasPermission(config.mod.show_ip, board.uri) %}
<tr>
<th>{% trans 'IP' %}</th>
<th>{% trans 'Ban mask' %}</th>
<td><a href="/mod.php?/IP/{{ ban.mask }}"</a>{{ ban.mask }}</td>
</tr>
<tr>
<th>{% trans 'Appeal IP' %}</th>
<td><a href="/mod.php?/IP/{{ ban.source_ip }}"</a>{{ ban.source_ip }}</td>
</tr>
{% endif %}
<tr>
<th>{% trans 'Reason' %}</th>
@ -89,7 +93,7 @@
<th>{% trans 'Action' %}</th>
<td>
<input type="hidden" name="appeal_id" value="{{ ban.id }}">
<input type="submit" name="unban" value="Unban">
<input type="submit" name="unban_mask" value="Unban mask">
<input type="submit" name="deny" value="Deny appeal">
</td>
</tr>