bornhack-website/src/backoffice/templates/approve_feedback.html
Thomas Flummer 1c88ed8073
Added title blocks to templates that did not have one (#511)
In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page

Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
2020-06-03 21:30:10 +02:00

37 lines
1.5 KiB
HTML

{% extends 'base.html' %}
{% load bornhack %}
{% block title %}
Approve Event Feedback | {{ block.super }}
{% endblock %}
{% block content %}
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<span class="h2">BackOffice - Approve Event Feedback</span>
</div>
<div class="panel-body">
<div class="lead">
The Content team can approve or reject pending EventFeedback from this page. The feedback will not be visible to the Event owner before it is approved. The Event owner will not be able to see the username of the feedback authors. The feedback author can see when the feedback has been approved or rejected by returning to the feedback page.
</div>
{% if event_feedback_list %}
<form method="post">
{{ formset.management_form }}
{% csrf_token %}
{% for form, feedback in formset|zip:event_feedback_list %}
{% include "includes/event_feedback_detail_panel.html" with event_feedback=feedback event=feedback.event %}
{% endfor %}
<button type="submit" class="btn btn-success"><i class="fas fa-check"></i> Submit</button>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-primary"><i class="fas fa-undo"></i> Cancel</a>
</form>
{% else %}
<div class="lead">There is no feedback awaiting approval.</div>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-primary"><i class="fas fa-undo"></i> Cancel</a>
{% endif %}
</div>
</div>
</div>
{% endblock content %}