2017-12-29 14:22:58 +00:00
|
|
|
{% 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>
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="banner-cover row p-4">
|
2017-12-29 14:22:58 +00:00
|
|
|
<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>
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="details season col">
|
2017-12-29 14:22:58 +00:00
|
|
|
<h1>{{show.name}}</h1>
|
|
|
|
{% if episode.season.name %}
|
|
|
|
<h3>{{ episode.season.name }}</h3>
|
|
|
|
{% else %}
|
|
|
|
<h3>Season {{ episode.season.number }}</h3>
|
|
|
|
{% endif %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<p>
|
2017-12-29 14:22:58 +00:00
|
|
|
{% if episode.season.description %}
|
|
|
|
{{ episode.season.description }}
|
|
|
|
{% else %}
|
|
|
|
{{ show.description }}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2018-02-27 17:49:45 +00:00
|
|
|
<section class="container mb-4 mt-2">
|
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
2018-03-02 13:46:25 +00:00
|
|
|
<li class="breadcrumb-item"><a href="{{show.url}}">{{show.name}}</a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="{{show.url}}/episode/{{episode.season.number}}/{{episode.episode}}-{{episode.name|slugify}}">{{episode.name}}</a></li>
|
2018-02-27 17:49:45 +00:00
|
|
|
<li class="breadcrumb-item active" aria-current="page">Report</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2017-12-29 14:22:58 +00:00
|
|
|
<h1>Report a Submission</h1>
|
|
|
|
{% if error %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="alert alert-danger">{{error}}</div>
|
2017-12-29 14:22:58 +00:00
|
|
|
{% endif %}
|
|
|
|
<form action="" method="post">
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="bg-light p-4 mb-4">
|
|
|
|
<div class="submitter font-weight-bold">Submission by {{ submission.user.display_name }}</div>
|
|
|
|
<div class="url-to font-weight-light">{{ submission.url }}</div>
|
2017-12-29 14:22:58 +00:00
|
|
|
{% if submission.user.is_staff %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="alert alert-danger">
|
|
|
|
<b>Warning</b>
|
|
|
|
<p>This submission is made by a staff member. Unnecessary reporters <b>will</b> be banned.</p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% include "form.html" %}
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
2017-12-29 14:22:58 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|