first pass at result notification prepare template
This commit is contained in:
parent
1f9ceed0e1
commit
8cb9a41f41
2 changed files with 42 additions and 1 deletions
|
@ -13,7 +13,6 @@
|
|||
{% block body %}
|
||||
<h1>Result Notification</h1>
|
||||
|
||||
|
||||
<form method="post" action="{% url result_notification_prepare section_slug status %}">
|
||||
|
||||
{% csrf_token %}
|
||||
|
|
42
symposion/templates/reviews/result_notification_prepare.html
Normal file
42
symposion/templates/reviews/result_notification_prepare.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
{% extends "reviews/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Result Notification Prepare</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<h2>Proposals</h2>
|
||||
<table class="table table-striped table-compact">
|
||||
{% for proposal in proposals %}
|
||||
<tr>
|
||||
<td>
|
||||
<strong>{{ proposal.speaker }}</strong> ({{ proposal.speaker.email }})
|
||||
<br />
|
||||
{{ proposal.title }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h2>Email</h2>
|
||||
|
||||
|
||||
<form method="post" action="{% url result_notification_send section_slug status %}">
|
||||
Subject:
|
||||
<input name="subject" value="{{ notification_template.subject }}" />
|
||||
<br/>
|
||||
Body:
|
||||
<textarea name="body">
|
||||
{{ notification_template.body }}
|
||||
</textarea>
|
||||
<br/>
|
||||
<input type="hidden" name="notification_template" value="{{ notification_template.pk }}" />
|
||||
<input type="hidden" name="proposal_pks" value="{{ proposal_pks }}" />
|
||||
<button type="submit" class="btn btn-primary">Send</button>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue