Files
@ 3d5ed5c5160a
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/proposals/proposal_detail.html - annotation
3d5ed5c5160a
3.8 KiB
text/html
Turn review jobs back on
Use a new "rego-review" namespace to not interfere with the dev instance.
Use a new "rego-review" namespace to not interfere with the dev instance.
04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 feed83f517da 04f246d85071 feed83f517da 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 8cf348acb59a 8cf348acb59a 8cf348acb59a a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 e6c623a69ca9 a0d0750b88a6 e6c623a69ca9 04f246d85071 a0d0750b88a6 61d1416b0652 61d1416b0652 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 a0d0750b88a6 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 8cf348acb59a 8cf348acb59a 8cf348acb59a 8cf348acb59a 8cf348acb59a 8cf348acb59a 8cf348acb59a a0d0750b88a6 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 61d1416b0652 e6c623a69ca9 04f246d85071 a0d0750b88a6 04f246d85071 | {% extends "symposion/proposals/base.html" %}
{% load i18n %}
{% block head_title %}{{ proposal.title }}{% endblock %}
{% block page_title %}#{{ proposal.number }}: {{ proposal.title }} ({{ proposal.speaker }}){% endblock %}
{% block proposals_body_outer %}
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#proposal-detail" data-toggle="tab">{% trans "Proposal Details" %}</a></li>
<li><a href="#supporting-document" data-toggle="tab">{% trans "Supporting Documents" %}</a></li>
<li><a href="#reviewer-feedback" data-toggle="tab">{% trans "Reviewer Feedback" %} ({{ proposal.messages.all|length }})</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="proposal-detail">
{% include "symposion/proposals/_proposal_fields.html" %}
<div class="btn-group">
{% if not proposal.cancelled %}
{% if request.user == proposal.speaker.user %}
<a class="btn btn-lg btn-primary" href="{% url "proposal_edit" proposal.pk %}">{% trans "Edit this proposal" %}</a>
<a class="btn btn-lg btn-success" role="button" href="{% url "proposal_speaker_manage" proposal.id %}">Manage Additional Speakers</a>
<a class="btn btn-lg btn-danger" href="{% url "proposal_cancel" proposal.pk %}">{% trans "Cancel this proposal" %}</a>
{% else %}
<a href="{% url "proposal_leave" proposal.pk %}" class="btn btn-default">{% trans "Remove me from this proposal" %}</a>
{% endif %}
{% else %}
{% trans 'Cancelled' %}
{% endif %}
</div>
</div>
<div class="tab-pane" id="supporting-document">
{% if proposal.supporting_documents.exists %}
<table class="table table-striped">
{% for document in proposal.supporting_documents.all %}
<tr>
<td><a href="{{ document.download_url }}">{{ document.description }}</a></td>
<td>
<form class="form-horizontal" style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
{% csrf_token %}
<button type="submit" class="btn btn-xs">{% trans 'delete' %}</button>
</form>
</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>{% trans 'No supporting documents attached to this proposal.' %}</p>
{% endif %}
<a class="btn btn-default btn-sm{% if proposal.cancelled %} btn-disabled{% endif %}" href="{% url "proposal_document_create" proposal.pk %}"><i class="fa fa-upload"></i> {% trans 'Add Document' %}</a>
</div>
<div class="tab-pane" id="reviewer-feedback">
<h3>{% trans 'Conversation with Reviewers' %}</h3>
{% for message in proposal.messages.all %}
<div class="panel panel-default">
<div class="panel-body">
<div class="comment monospace-text"><em>{{ message.message|safe }}</em></div>
</div>
<div class="panel-heading">
<div><b>{{ message.user.username }}</b> {{ message.submitted_at|timesince }} ago</div>
</div>
</div>
<br />
{% endfor %}
<h3>{% trans 'Leave a Message' %}</h3>
<p>{% trans 'You can leave a message for the reviewers here.' %}</p>
<form class="form-horizontal" action="" method="POST" accept-charset="utf-8">
{% csrf_token %}
<fieldset>
{% include "_form_snippet.html" with form=message_form %}
<div class="btn-group">
<button type="submit" name="message_submit" class="btn btn-primary">{% trans 'Submit' %}</button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
{% endblock %}
|