cciw-website / templates / cciw / officers / manage_applications.html

{% extends "cciw/officers/base.html" %}
{% load url from future %}
{% block title %}Manage applications {{ camp.year }}-{{ camp.number }} | CCIW Officers{% endblock %}
{% block content %}<div id="content-main">
<h1>Manage applications</h1>
<h2>For camp {{ camp }}</h2>

<p>This page allows you to view/download submitted applications in
  different formats. Normally the leaders of the camps (and any
  'admins' defined for the camp) will be automatically emailed
  with any submitted application forms and you will not need this page.
</p>


<h2>View/edit</h2>
<p>If you need to view/edit applications to make corrections, use the
<a href="/admin/officers/application/">admin interface for applications</a>.</p>

<h2>Download</h2>

{% if finished_applications %}

<form action="{% url 'cciw.officers.views.view_application' %}" method="post">{% csrf_token %}
<div class="aligned">
  <div class="form-row">
  <label for="application">Choose application</label>
  <select name="application" id="application">
    {% for app in finished_applications %}
    <option value="{{ app.id }}">{{ app.officer.get_full_name }}, submitted {{ app.date_submitted|date:"Y-m-d" }}</option>
    {% endfor %}
  </select>
  </div>
  <div class="form-row">
  <label for="format">Format</label>
  <select name="format" id="format">
    <option value="txt">Plain text</option>
    <option value="rtf">Rich Text Format</option>
    <option value="send">Send me both in an email</option>
  </select>
  </div>
  <div class="form-row">
    <input type="submit" name="view" value="Get it" />
  </div>
  <input type="hidden" name="to" value="{{ request.path }}" />
</div>
</form>

{% else %}

<p>No applications for your camps have been completed yet.</p>

{% endif %}
</div>
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.