31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
|
{% extends "base.html" %}
|
||
|
{% block title %}
|
||
|
Moderator area for {{show.name}} - Episodes.Community
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
{% load guardian_tags %}
|
||
|
{% get_obj_perms request.user for show as "show_perms" %}
|
||
|
{% include "partials/show_banner.html" %}
|
||
|
<section class="mb-5 mt-2 container">
|
||
|
<nav aria-label="breadcrumb">
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item"><a href="{{show.url}}">{{show.name}}</a></li>
|
||
|
<li class="breadcrumb-item"><a href="{{show.url}}/moderator">Moderator Area</a></li>
|
||
|
<li class="breadcrumb-item active" aria-current="page">Read Report</li>
|
||
|
</ol>
|
||
|
</nav>
|
||
|
<h1>{{report.title}}</h1>
|
||
|
<div class="user-content">{{report.details}}</div>
|
||
|
<p>URL: <a href="{{report.url}}">{{report.url}}</a></p>
|
||
|
<form method="POST">
|
||
|
{%csrf_token%}
|
||
|
{% if not report.resolved %}
|
||
|
<button name="resolve" class="btn btn-primary">Mark as resolved</button>
|
||
|
{% endif %}
|
||
|
<button name="delete" class="btn btn-danger">Delete</button>
|
||
|
<button name="delete_ban" class="btn btn-danger">Delete and Ban User</button>
|
||
|
</form>
|
||
|
</section>
|
||
|
{% endblock %}
|