root / snf-astakos-app / astakos / im / templates / im / astakosgroup_form_summary.html @ 29b87e7c
History | View | Annotate | Download (2.6 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 |
<h2>CONFIRM YOUR REQUEST</h2> |
10 |
<p>Lorem ipsum</p> |
11 |
<form action="{% url group_add_complete %}" method="post" class="quotas-form">{% csrf_token %} |
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 |
<div class="full-dotted"> |
20 |
<h3>DETAILS:</h3> |
21 |
<dl class="alt-style"> |
22 |
<dt>Name</dt> |
23 |
<dd>{{ data.name|strip_http }} </dd> |
24 |
<dt>Homepage Url</dt> |
25 |
<dd>{{ data.homepage }} </dd> |
26 |
<dt>Description</dt> |
27 |
<dd>{{ data.desc }}</dd> |
28 |
<!--<dt>Type</dt>
|
29 |
<dd>Course </dd>-->
|
30 |
<dt>Issue date:</dt> |
31 |
<dd>{{ data.issue_date|date:"d/m/Y"}} </dd> |
32 |
<dt>Expiration Date</dt> |
33 |
<dd>{{ data.expiration_date|date:"d/m/Y"}} </dd> |
34 |
<dt>Modaration</dt> |
35 |
<dd>{% if data.moderation_enabled%}Yes{% else %}No{% endif %}</dd> |
36 |
<dt>Max members per group</dt> |
37 |
<dd>{% if data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd> |
38 |
</dl>
|
39 |
</div>
|
40 |
<div class="full-dotted"> |
41 |
<h3>RESOURCES:</h3> |
42 |
<dl class="alt-style"> |
43 |
{% for r in policies %} |
44 |
{% with r.service|add:'.'|add:r.resource as t %} |
45 |
{% with resource_catalog|lookup:'resources' as resources %} |
46 |
{% with resources|lookup:t as info %} |
47 |
{% with resource_presentation|lookup:t as resource_info %} |
48 |
<dt>
|
49 |
Max {% if resource_info.is_abbreviation %}{{ r.resource|upper }}{% else %}{{ r.resource }}{% endif %}{% if not info.unit %}s {% endif %} per user |
50 |
</dt>
|
51 |
|
52 |
<dd>
|
53 |
{% if r.uplimit %} |
54 |
{{ r.uplimit }} {% if info.unit %}({{ info.unit}}){% endif %} |
55 |
{% else %} |
56 |
Unlimited |
57 |
{% endif %} |
58 |
</dd>
|
59 |
{% endwith %} |
60 |
{% endwith %} |
61 |
{% endwith %} |
62 |
{% endwith %} |
63 |
{% endfor %} |
64 |
|
65 |
<!--<dt>Max Vms per user</dt>
|
66 |
<dd>3</dd>
|
67 |
<dt>Max diskspace per user</dt>
|
68 |
<dd>5GB</dd>
|
69 |
<dt>Max RAM per user</dt>
|
70 |
<dd>2GB</dd>
|
71 |
<dt>Max CPU per user</dt>
|
72 |
<dd>2</dd>-->
|
73 |
</dl>
|
74 |
|
75 |
</div>
|
76 |
<div class="full-dotted"> |
77 |
|
78 |
</div>
|
79 |
|
80 |
<div class="form-row submit"> |
81 |
<input type="submit" value="SUBMIT" class="submit altcol" autocomplete="off"> |
82 |
</div>
|
83 |
</form>
|
84 |
|
85 |
</div>
|
86 |
{% endwith %} |
87 |
|
88 |
{% endblock %} |