|
| 1 | +{% extends "base_site.html" %} |
| 2 | + |
| 3 | +{% block title %}Areas - View{% endblock %} |
| 4 | + |
| 5 | +{% block extrahead %}{{ block.super }} |
| 6 | + <script type="text/javascript" src="/secr/js/utils.js"></script> |
| 7 | +{% endblock %} |
| 8 | + |
| 9 | +{% block breadcrumbs %}{{ block.super }} |
| 10 | + » <a href="../">Areas</a> |
| 11 | + » {{ area.acronym }} |
| 12 | +{% endblock %} |
| 13 | + |
| 14 | +{% block content %} |
| 15 | + |
| 16 | +<div class="module"> |
| 17 | + <h2>Area - View</h2> |
| 18 | + <table class="full-width"> |
| 19 | + <col width="150"> |
| 20 | + <tr><td>Area Acronym:</td><td>{{ area.acronym }}</td></tr> |
| 21 | + <tr><td>Area Name:</td><td>{{ area.name }}</td></tr> |
| 22 | + <tr><td>Status:</td><td>{{ area.state }}</td></tr> |
| 23 | + <tr><td>Start Date:</td><td>{{ area.start_date|date:"Y-m-d" }}</td></tr> |
| 24 | + <tr><td>Concluded Date:</td><td>{{ area.concluded_date|date:"Y-m-d" }}</td></tr> |
| 25 | + <tr><td>Last Modified Date:</td><td>{{ area.time|date:"Y-m-d" }}</td></tr> |
| 26 | + <tr><td>Comments:</td><td>{{ area.comments}}</td></tr> |
| 27 | + </table> |
| 28 | + |
| 29 | + <div class="inline-related"> |
| 30 | + <h2>Directors</h2> |
| 31 | + <table class="full-width"> |
| 32 | + {% for director in directors %} |
| 33 | + <tr><td><a href="{% url rolodex_view id=director.person.id %}">{{ director.person.name }}</a>{% if director.name.slug == "pre-ad" %} (Incoming){% endif %}</td></tr> |
| 34 | + {% endfor %} |
| 35 | + </table> |
| 36 | + </div> <!-- inline-group --> |
| 37 | + |
| 38 | + {% with area.groupurl_set.all as awps %} |
| 39 | + {% include "includes/awp_view.html" %} |
| 40 | + {% endwith %} |
| 41 | + |
| 42 | + <div class="button-group"> |
| 43 | + <ul> |
| 44 | + <!-- <li><button onclick="window.location='../../'">Back</button></li> --> |
| 45 | + <li><button onclick="window.location='edit/'">Edit</button></li> |
| 46 | + <li><button onclick="window.location='people/'">People</button></li> |
| 47 | + <li><button onclick="window.location='{% url groups_search %}?primary_area={{ area.id }}'">Groups</button></li> |
| 48 | + </ul> |
| 49 | + </div> <!-- button-group --> |
| 50 | +</div> <!-- module --> |
| 51 | + |
| 52 | +{% endblock %} |
0 commit comments