This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
Episodes.Community/Show/templates/mod_dash.html

48 lines
1.5 KiB
HTML
Raw Normal View History

{% 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 active" aria-current="page">Moderator Area</li>
</ol>
</nav>
<h1>Moderator Area</h1>
<div class="row">
<div class="col">
<h2>Recent Activity</h2>
{% for action in actions %}
<div class="action">
<div class="font-weight-bold">
<a href="/community/user/{{action.user.id}}-{{action.user.display_name|slugify}}">{{action.user.display_name}}</a>
</div>
<p class="text-muted">{{action.act_str}} <a href="{{action.url}}" target="_blank">{{action.url}}</a></p>
</div>
{% empty %}
<p>Nothing to show.</p>
{% endfor %}
</div>
<div class="col">
<h2>Unresolved Reports</h2>
{% for report in reports %}
<div class="report border-bottom">
<a class="font-weight-bold" href="{{show.url}}/moderator/report/{{report.pk}}">{{report.title}}</a>
<p class="font-weight-light text-muted">
<a href="/community/user/{{report.reporter.id}}-{{report.reporter.display_name|slugify}}">{{report.reporter.display_name}}</a> · {{report.timestamp}}
</p>
</div>
{% empty %}
<p>Nothing to show.</p>
{% endfor %}
</div>
</div>
</section>
{% endblock %}