2017-03-12 18:06:03 +00:00
|
|
|
{% extends 'program_base.html' %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Proposals | {{ block.super }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block program_content %}
|
|
|
|
|
|
|
|
<h3>Your {{ camp.title }} Speaker Proposals</h3>
|
|
|
|
{% if speakerproposal_list %}
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for speakerproposal in speakerproposal_list %}
|
|
|
|
<tr>
|
|
|
|
<td><b>{{ speakerproposal.name }}</b></td>
|
|
|
|
<td><span class="badge">{{ speakerproposal.proposal_status }}</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="{% url 'speakerproposal_detail' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-xs">Details</a>
|
|
|
|
{% if not camp.read_only %}
|
2017-07-11 20:02:19 +00:00
|
|
|
<a href="{% url 'speakerproposal_update' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-xs">Modify</a>
|
2017-03-15 23:30:59 +00:00
|
|
|
{% if speakerproposal.proposal_status == "pending" or speakerproposal.proposal_status == "approved" %}
|
2017-03-12 19:54:33 +00:00
|
|
|
<a href="{% url 'speakerproposal_submit' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-xs btn-disabled" disabled>Submit</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'speakerproposal_submit' camp_slug=camp.slug pk=speakerproposal.uuid %}" class="btn btn-primary btn-xs">Submit</a>
|
|
|
|
{% endif %}
|
2017-03-12 18:06:03 +00:00
|
|
|
<a href="#" class="btn btn-danger btn-xs btn-disabled" disabled>Delete</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<h4>No speaker proposals found</h4>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-04-11 12:13:43 +00:00
|
|
|
{% if not camp.read_only and camp.call_for_speakers_open %}
|
2017-03-12 18:06:03 +00:00
|
|
|
<a href="{% url 'speakerproposal_create' camp_slug=camp.slug %}" class="btn btn-primary btn-sm">Propose New Speaker</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<br>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<h3>Your {{ camp.title }} Event Proposals</h3>
|
|
|
|
{% if eventproposal_list %}
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Title</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for eventproposal in eventproposal_list %}
|
|
|
|
<tr>
|
|
|
|
<td><b>{{ eventproposal.title }}</b></td>
|
|
|
|
<td><b>{{ eventproposal.event_type }}</b></td>
|
|
|
|
<td><span class="badge">{{ eventproposal.proposal_status }}</span></td>
|
|
|
|
<td>
|
|
|
|
<a href="{% url 'eventproposal_detail' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-xs">Details</a>
|
|
|
|
{% if not camp.read_only %}
|
|
|
|
<a href="{% url 'eventproposal_update' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-xs">Modify</a>
|
2017-03-12 19:54:33 +00:00
|
|
|
{% if eventproposal.proposal_status == "pending" %}
|
|
|
|
<a href="{% url 'eventproposal_submit' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-xs btn-disabled" disabled>Submit</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'eventproposal_submit' camp_slug=camp.slug pk=eventproposal.uuid %}" class="btn btn-primary btn-xs">Submit</a>
|
|
|
|
{% endif %}
|
2017-03-12 18:06:03 +00:00
|
|
|
<a href="#" class="btn btn-danger btn-xs btn-disabled" disabled>Delete</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<h4>No event proposals found</h4>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-04-11 12:13:43 +00:00
|
|
|
{% if not camp.read_only and camp.call_for_speakers_open %}
|
2017-03-12 18:06:03 +00:00
|
|
|
<a href="{% url 'eventproposal_create' camp_slug=camp.slug %}" class="btn btn-primary btn-sm">Propose New Event</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|