source: asadb/template/groups/create/startup_review.html

stablestage
Last change on this file was 7dde669, checked in by Alex Dehnert <adehnert@…>, 12 years ago

Add pre-group-approval warnings

This fixes (enough, at least for now) several issues by adding warnings
to the approval page when certain constraints are violated:

  • ASA-#216: New group "ERROR:" emails should get suppressed earlier
  • ASA-#234: max locker name length
  • ASA-#246: Add reminders of common issues to the new group confirmation page
  • Property mode set to 100644
File size: 3.1 KB
Line 
1{% extends "base.html" %}
2{% block title %}{{group.name}}: Review startup information{% endblock %}
3{% block content %}
4
5<h1>{{group.name}}: Review startup information</h1>
6
7<table class='pretty-table'>
8<tr><th colspan='2'>Basic Information</th></tr>
9<tr><th>Name</th><td>{{group.name}}</td></tr>
10<tr>
11    <th>Abbreviation</th>
12    <td>{%if group.abbreviation%}{{group.abbreviation}}{%else%}<i>none</i>{%endif%}</td>
13</tr>
14<tr><th>Description</th><td>{{group.description}}</td></tr>
15
16<tr><th colspan='2'>Officers</th></tr>
17<tr><th>President</th><td>{{startup.president_name}} ({{startup.president_kerberos}})</td></tr>
18<tr><th>Treasurer</th><td>{{startup.treasurer_name}} ({{startup.treasurer_kerberos}})</td></tr>
19
20<tr><th colspan='2'>Type</th></tr>
21<tr><th>Activity category</th><td>{{group.activity_category}}</td></tr>
22<tr><th>Group class</th><td>{{group.group_class.name}}</td></tr>
23<tr><th>Funding status</th><td>{{group.group_funding}}</td></tr>
24
25<tr><th colspan='2'>Technical Information</th></tr>
26<tr><th>Officer email</th><td>{{group.officer_email}}{% if startup.create_officer_list %} (create){% endif %}</td></tr>
27<tr><th>Group email</th><td>{{group.group_email}}{% if startup.create_group_list %} (create){% endif %}</td></tr>
28<tr><th>Athena locker</th><td>{{group.athena_locker}}{% if startup.create_athena_locker %} (create){% endif %}</td></tr>
29
30<tr><th colspan='2'>Additional Information</th></tr>
31<tr>
32    <th>Constitution</th>
33    <td><a href='{{group.constitution_url}}'>{{group.constitution_url}}</a></td>
34</tr>
35<tr><th>Application date</th><td>{{group.recognition_date}} by {{startup.submitter}}</td></tr>
36<tr><th>Last updated</th><td>{{group.update_string}}</td></tr>
37
38</table>
39
40<ul>
41    <li><a href='{% url admin:groups_groupstartup_change startup.pk %}'>Admin for startup information</a>
42    <li><a href='{% url groups:group-detail group.pk %}'>Group detail page</a></li>
43    <li><a href='{% url groups:group-manage-main group.pk %}'>Group update page</a></li>
44    <li><a href='{% url admin:groups_group_change group.pk %}'>Admin for group</a>
45</ul>
46
47{% if msg %}
48<div class='messagebox {{msg_type}}box'>
49<p>{{msg}}</p>
50</div>
51{% endif %}
52
53{% if warnings %}
54<div class='messagebox warnbox'>
55<h3>Potential issues</h3>
56
57<p>The following potential issues were identified with this group's startup application:</p>
58
59<ul>
60{% for warning in warnings %}
61    <li>{{warning}}</li>
62{%endfor%}
63</ul>
64
65<p>Please look over these issues. Usually, you should <strong>reach out to the group</strong> and ask them to fix (or consider fixing) each issue before you approve the group. In some cases, it may be appropriate to ignore an issue. (For example, "MIT" is a central part of some group's acronyms (like "HTGAMIT"). In these cases, confirming with the group may not be necessary.)</p>
66</div>
67{%endif%}
68
69{% if disp_form %}
70<form enctype="multipart/form-data" method="post" action="">
71{% csrf_token %}
72{% if warnings %}
73<input type='submit' name='approve' value='Approve DESPITE WARNINGS' />
74{% else %}
75<input type='submit' name='approve' value='Approve' />
76{% endif %}
77<input type='submit' name='reject' value='Reject' />
78</form>
79{% endif %}
80
81{% endblock %}
Note: See TracBrowser for help on using the repository browser.