Fix View IP page

This commit is contained in:
8chan Admin 2013-10-30 09:06:06 +00:00
parent 9610d8742e
commit aaedd9794b

View File

@ -1,4 +1,5 @@
{% for board_posts in posts %} {% for board_posts in posts %}
{% if board_posts.board.uri in mod.boards or mod.boards.0 == '*' %}
<fieldset> <fieldset>
<legend> <legend>
<a href="?/{{ config.board_path|sprintf(board_posts.board.uri) }}{{ config.file_index }}"> <a href="?/{{ config.board_path|sprintf(board_posts.board.uri) }}{{ config.file_index }}">
@ -9,6 +10,7 @@
</legend> </legend>
{{ board_posts.posts|join('<hr>') }} {{ board_posts.posts|join('<hr>') }}
</fieldset> </fieldset>
{% endif %}
{% endfor %} {% endfor %}
{% if mod|hasPermission(config.mod.view_notes) %} {% if mod|hasPermission(config.mod.view_notes) %}
@ -184,7 +186,7 @@
<th>{% trans 'Board' %}</th> <th>{% trans 'Board' %}</th>
<th>{% trans 'Action' %}</th> <th>{% trans 'Action' %}</th>
</tr> </tr>
{% for log in logs %} {% for log in logs if (log.username == mod.username and mod.type == 20) or mod.type != 20 %}
<tr> <tr>
<td class="minimal"> <td class="minimal">
{% if log.username %} {% if log.username %}