2015-10-16 17:53:02 +00:00
|
|
|
{% extends "site_base.html" %}
|
2016-06-27 00:14:59 +00:00
|
|
|
{% load staticfiles %}
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block body_class %}reviews{% endblock %}
|
|
|
|
|
|
|
|
{% block body_outer %}
|
2016-06-27 00:14:59 +00:00
|
|
|
<div class="l-content-page">
|
|
|
|
<div class="l-content-page--richtext">
|
|
|
|
<div class="rich-text">
|
|
|
|
|
2015-10-16 17:53:02 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
{% block sidebar %}
|
2016-03-17 18:45:40 +00:00
|
|
|
{% for section in review_sections %}
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{{ section }}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="list-group">
|
|
|
|
<a class="list-group-item review-list" href="{% url "review_section" section.section.slug %}">
|
|
|
|
{% trans "All Reviews" %}
|
|
|
|
</a>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% comment %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url "review_section_assignments" section.section.slug %}">
|
|
|
|
{% trans "Your Assignments" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endcomment %}
|
2016-06-29 13:17:15 +00:00
|
|
|
<a class="list-group-item user-reviewed" href="{% url "user_reviewed" section.section.slug %}">
|
|
|
|
{% trans "Reviewed by you" %}
|
|
|
|
</a>
|
2016-06-21 00:08:53 +00:00
|
|
|
<a class="list-group-item user-not-reviewed" href="{% url "user_not_reviewed" section.section.slug %}">
|
|
|
|
{% trans "Unreviewed by you" %}
|
|
|
|
</a>
|
2016-06-29 13:17:15 +00:00
|
|
|
<a class="list-group-item user-random" href="{% url "user_random" section.section.slug %}">
|
|
|
|
{% trans "Random unreviewed proposal" %}
|
|
|
|
</a>
|
2016-03-17 18:45:40 +00:00
|
|
|
<a class="list-group-item voting-status" href="{% url "review_status" section.section.slug %}">
|
|
|
|
{% trans "Voting Status" %}
|
|
|
|
</a>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% if request.user.is_staff %}
|
2016-03-17 18:45:40 +00:00
|
|
|
<a class="list-group-item review-results" href="{% url "result_notification" section.section.slug 'accepted' %}">Result Notification</a>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% endif %}
|
2016-03-17 18:45:40 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2015-10-16 17:53:02 +00:00
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
<div class="col-md-10">
|
|
|
|
{% block body %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-27 00:14:59 +00:00
|
|
|
</div></div></div>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block extra_script %}
|
2017-10-08 05:14:28 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.css"/>
|
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
|
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
|
|
|
|
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/datatables.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
2017-10-13 02:07:05 +00:00
|
|
|
$("table.table-reviews").dataTable({
|
2017-10-08 05:14:28 +00:00
|
|
|
"dom": "<'row'<'col-md-3'l><'col-md-3'B><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
|
|
|
|
"stateSave": true,
|
|
|
|
"lengthMenu": [[10, 50, 100, -1], [10, 50, 100, "All"]],
|
|
|
|
"pageLength": 100,
|
|
|
|
"buttons": [ "copy", "csv", "print"]
|
2015-10-16 17:53:02 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|