leftypol_vichan/templates/mod/report.html

33 lines
1.5 KiB
HTML
Raw Normal View History

2012-04-16 07:28:57 +00:00
<div class="report">
<hr>
2012-05-05 15:33:10 +00:00
{% trans 'Board' %}: <a href="?/{{ report.board }}/{{ config.file_index }}">{{ config.board_abbreviation|sprintf(report.board) }}</a>
2012-04-16 07:28:57 +00:00
<br>
2012-05-05 15:33:10 +00:00
{% trans 'Reason' %}: {{ report.reason }}
2012-04-16 07:28:57 +00:00
<br>
2012-05-05 15:33:10 +00:00
{% trans 'Report date' %}: {{ report.time|date(config.post_date) }}
2012-04-16 07:28:57 +00:00
<br>
{% if mod|hasPermission(config.mod.show_ip, report.board) %}
2021-02-13 13:11:41 +00:00
{% trans 'Reported by' %}: <a href="?/IP/{{ report.ip|cloak_ip }}">{{ report.ip|cloak_ip }}</a>
2012-04-16 07:28:57 +00:00
<br>
{% endif %}
{% if mod|hasPermission(config.mod.report_dismiss, report.board) or mod|hasPermission(config.mod.report_dismiss_ip, report.board) %}
<hr>
{% if mod|hasPermission(config.mod.report_dismiss, report.board) %}
2013-09-23 06:48:56 +00:00
<a title="{% trans 'Discard abuse report' %}" href="?/reports/{{ report.id }}/dismiss/{{ token }}">Dismiss</a>
2012-04-16 07:28:57 +00:00
{% endif %}
{% if mod|hasPermission(config.mod.report_dismiss_ip, report.board) %}
{% if mod|hasPermission(config.mod.report_dismiss, report.board) %}
|&nbsp;
2012-04-16 07:28:57 +00:00
{% endif %}
<a title="{% trans 'Discard all abuse reports by this IP address' %}" href="?/reports/{{ report.id }}/dismiss&amp;all/{{ token_all }}">Dismiss+</a>
{% endif %}
{% if mod|hasPermission(config.mod.report_dismiss_post, report.board) %}
{% if mod|hasPermission(config.mod.report_dismiss, report.board) %}
|&nbsp;
{% endif %}
<a title="{% trans 'Dismissed all reports for the post' %}" href="?/reports/{{ report.id }}/dismiss&amp;post/{{ token_post }}">Dismiss Post</a>
2012-04-16 07:28:57 +00:00
{% endif %}
{% endif %}
</div>