root / snf-astakos-app / astakos / im / templates / im / astakosgroup_form_summary.html @ bdc1c103
History | View | Annotate | Download (2.5 kB)
1 |
{% extends "im/account_base.html" %} |
---|---|
2 |
|
3 |
{% load filters %} |
4 |
|
5 |
{% block page.body %} |
6 |
|
7 |
{% with form.data as data %} |
8 |
<div class="projects summary"> |
9 |
|
10 |
<form action="{% url group_add_complete %}" method="post" class="quotas-form">{% csrf_token %} |
11 |
<legend>3. CONFIRM YOUR REQUEST</legend> |
12 |
<!--
|
13 |
{% for k,v in data.iteritems %}
|
14 |
<input type="hidden" name="{{ k }}" value="{{ v }}">
|
15 |
{% endfor %}
|
16 |
-->
|
17 |
{% include "im/form_render.html" %} |
18 |
|
19 |
<p>{{ data.desc|safe }}</p> |
20 |
<dl class="alt-style"> |
21 |
<dt>Homepage Url</dt> |
22 |
<dd>{{ data.homepage }} </dd> |
23 |
</dl>
|
24 |
|
25 |
<div class="full-dotted"> |
26 |
<h3>DETAILS:</h3> |
27 |
<dl class="alt-style"> |
28 |
<dt>Name</dt> |
29 |
<dd>{{ data.name|strip_http }} </dd> |
30 |
<!--<dt>Type</dt>
|
31 |
<dd>Course </dd>-->
|
32 |
<dt>Issue date:</dt> |
33 |
<dd>{{ data.issue_date|date:"d/m/Y"}} </dd> |
34 |
<dt>Expiration Date</dt> |
35 |
<dd>{{ data.expiration_date|date:"d/m/Y"}} </dd> |
36 |
<dt>Modaration</dt> |
37 |
<dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd> |
38 |
<dt>Max members per group</dt> |
39 |
<dd>{% if data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd> |
40 |
</dl>
|
41 |
</div>
|
42 |
<div class="full-dotted"> |
43 |
<h3>RESOURCES:</h3> |
44 |
<dl class="alt-style"> |
45 |
{% for r in policies %} |
46 |
{% with r.service|add:'.'|add:r.resource as t %} |
47 |
{% with resource_catalog|lookup:'resources' as resources %} |
48 |
{% with resources|lookup:t as info %} |
49 |
{% with resource_presentation|lookup:t as resource_info %} |
50 |
<dt>
|
51 |
Max {% if resource_info.is_abbreviation %}{{ r.resource|upper }}{% else %}{{ r.resource }}{% endif %}{% if not info.unit %}s {% endif %} per user |
52 |
</dt>
|
53 |
|
54 |
<dd>
|
55 |
{% if r.uplimit %} |
56 |
{% if info.unit %} |
57 |
{{ r.uplimit|sizeof_fmt }} |
58 |
{% else %} |
59 |
{{ r.uplimit }} |
60 |
{% endif %} |
61 |
{% else %} |
62 |
Unlimited |
63 |
{% endif %} |
64 |
</dd>
|
65 |
{% endwith %} |
66 |
{% endwith %} |
67 |
{% endwith %} |
68 |
{% endwith %} |
69 |
{% endfor %} |
70 |
|
71 |
</dl>
|
72 |
|
73 |
</div>
|
74 |
<div class="full-dotted"> |
75 |
|
76 |
</div>
|
77 |
|
78 |
<div class="form-row submit"> |
79 |
<input type="submit" value="SUBMIT" class="submit altcol" autocomplete="off"> |
80 |
</div>
|
81 |
</form>
|
82 |
|
83 |
</div>
|
84 |
{% endwith %} |
85 |
|
86 |
{% endblock %} |