root / snf-astakos-app / astakos / im / templates / im / projects / projectapplication_form_summary.html @ 63c07fdd
History | View | Annotate | Download (3 kB)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% load filters astakos_tags %} |
4 |
{% block headjs %} |
5 |
{{ block.super }} |
6 |
<script src="{{ IM_STATIC_URL }}js/quotas.js"></script> |
7 |
{% endblock %} |
8 |
{% block page.body %} |
9 |
|
10 |
<h2>
|
11 |
{% if update_form %}REQUEST PROJECT MODIFICATION{% else %}REQUEST PROJECT{% endif %} |
12 |
</h2>
|
13 |
|
14 |
<p>These are the specifications of the Project you want to create. If you hit the "Submit" button
|
15 |
this form will be officially sent to {{ BRANDING_COMPANY_NAME }} for review. Please make sure the following reflect |
16 |
exactly your request.</p>
|
17 |
|
18 |
<div class="projects summary"> |
19 |
<form action="?edit=0&verify=0" method="post" class="quotas-form">{% csrf_token %} |
20 |
{% for k,v in request.POST.items %} |
21 |
{% if k != 'csrfmiddlewaretoken' %} |
22 |
<input type="hidden" name="{{k}}" id="{{'id_'|add:k}}" value="{{v}}"> |
23 |
{% endif %} |
24 |
{% endfor %} |
25 |
<div class="full-dotted"> |
26 |
<h3>PROJECT DETAILS</h3> |
27 |
<p class="restricted">{{ form_data.desc }}</p> |
28 |
<dl class="alt-style"> |
29 |
<dt>Name</dt> |
30 |
<dd>{{ form_data.name }} </dd> |
31 |
<dt>Homepage Url</dt> |
32 |
<dd>{{ form_data.homepage }} </dd> |
33 |
<dt>Description</dt> |
34 |
<dd>{{ form_data.description }} </dd> |
35 |
<dt>Start date</dt> |
36 |
<dd>{{ form_data.start_date|date:"d/m/Y"}} </dd> |
37 |
<dt>End Date</dt> |
38 |
<dd>{{ form_data.end_date|date:"d/m/Y"}} </dd> |
39 |
<dt>Comments</dt> |
40 |
<dd>{{ form_data.comments }} </dd> |
41 |
|
42 |
</dl>
|
43 |
</div>
|
44 |
<div class="full-dotted"> |
45 |
<h3>MEMBERSHIP OPTIONS</h3> |
46 |
<dl class="alt-style"> |
47 |
<dt>Member join policy</dt> |
48 |
<dd>{{ join_policies|lookup:form_data.member_join_policy|title }}</dd> |
49 |
<dt>Member leave policy</dt> |
50 |
<dd>{{ leave_policies|lookup:form_data.member_leave_policy|title }}</dd> |
51 |
<dt>Total number of members</dt> |
52 |
<dd>{{ form_data.limit_on_members_number }}</dd> |
53 |
</dl>
|
54 |
</div>
|
55 |
|
56 |
|
57 |
<div class="full-dotted"> |
58 |
<h3>RESOURCES</h3> |
59 |
<p>The following resources will be granted to each member of this Project:</p> |
60 |
<dl class="alt-style"> |
61 |
{% for rp in form.resource_policies %} |
62 |
<dt>
|
63 |
{{rp.pluralized_display_name}} per user |
64 |
</dt>
|
65 |
<dd>
|
66 |
|
67 |
{% if rp.uplimit %} |
68 |
{% if rp.unit %} |
69 |
{{ rp.uplimit|sizeof_fmt }} |
70 |
{% else %} |
71 |
{{ rp.uplimit }} |
72 |
{% endif %} |
73 |
{% else %} |
74 |
Unlimited |
75 |
{% endif %} |
76 |
</dd>
|
77 |
{% empty %} |
78 |
No resources |
79 |
{% endfor %} |
80 |
</dl>
|
81 |
</div>
|
82 |
|
83 |
<div class="full-dotted"> |
84 |
|
85 |
</div>
|
86 |
|
87 |
|
88 |
<input type="hidden" name="user" id="id_user" value="{{user.id}}"> |
89 |
<div class="form-row submit"> |
90 |
<input type="submit" value="BACK" class="submit lt" onclick='this.form.action="?edit=1&verify=0";'> |
91 |
<input type="submit" value="SUBMIT" class="submit" > |
92 |
<a href="{% url project_list %}" class="rt-link">CANCEL</a> |
93 |
</div>
|
94 |
</form>
|
95 |
|
96 |
|
97 |
</div>
|
98 |
{% endblock %} |