55 lines
1.8 KiB
HTML
55 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}
|
|
Report a Submission - {{show.name}} - Episodes.Community
|
|
{% endblock %}
|
|
{% block content %}
|
|
<section class="show-details">
|
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
|
<div class="banner-cover">
|
|
<div class="artwork">
|
|
{% if episode.season.artwork %}
|
|
<img src="/media/uploaded_resources/{{episode.season.artwork}}">
|
|
{% else %}
|
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
|
{% endif %}
|
|
</div>
|
|
<div class="details season">
|
|
<h1>{{show.name}}</h1>
|
|
{% if episode.season.name %}
|
|
<h3>{{ episode.season.name }}</h3>
|
|
{% else %}
|
|
<h3>Season {{ episode.season.number }}</h3>
|
|
{% endif %}
|
|
<p class="description">
|
|
{% if episode.season.description %}
|
|
{{ episode.season.description }}
|
|
{% else %}
|
|
{{ show.description }}
|
|
{% endif %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<section class="submissions">
|
|
<a href="/show/{{show.abbr}}" class="button"><i class="fa fa-fw fa-home"></i> Show Index</a>
|
|
<a href="/show/{{show.abbr}}/episode/{{episode.season.number}}/{{episode.episode}}-{{episode.name|slugify}}" class="button">Back to Episode</a>
|
|
<h1>Report a Submission</h1>
|
|
{% if error %}
|
|
<div class="message error">{{error}}</div>
|
|
{% endif %}
|
|
<form action="" method="post">
|
|
<div class="report-box">
|
|
<span class="submitter">Submission by {{ submission.user.display_name }}</span>
|
|
<span class="url-to">URL: {{ submission.url }}</span>
|
|
{% if submission.user.is_staff %}
|
|
<div class="message error"><b>Warning</b><br>This submission is made by a staff member.<br>Unnecessary reporters <b>will</b> be banned.</div>
|
|
{% endif %}
|
|
</div>
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|