Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / astakosgroup_form_summary.html @ 30a77ab5

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
        <form action="{% url group_add_complete %}" method="post" class="quotas-form">{% csrf_token %}
10
                <legend>CONFIRMATION REQUEST</legend>
11
                <P>These are the specifications of the Project you want to create. If you hit the "Submit" button this form will be officially sent to GRNET for review. Please make sure the following reflect exactly your request. After submitting, there is no way to modify your Project request. </P>
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
                <div class="full-dotted">
19
                        <h3>GENERAL INFO</h3>
20
                        <p class="restricted">{{ data.desc|safe }}</p>
21
                        <dl class="alt-style">                            
22
                                <dt>Homepage Url</dt>
23
                                <dd>{{ data.homepage }}&nbsp;</dd>
24
                                <dt>Modaration</dt>
25
                                 <dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd>
26
                        </dl>
27
                </div>
28
                <div class="full-dotted">
29
                         <h3>DETAILS</h3>
30
                         <dl class="alt-style">                            
31
                            <dt>Name</dt>
32
                                 <dd>{{ data.name }}&nbsp;</dd>
33
                                 <!--<dt>Type</dt>
34
                                 <dd>Course&nbsp;</dd>-->
35
                                 <dt>Issue date:</dt>
36
                                 <dd>{{ data.issue_date|date:"d/m/Y"}}&nbsp;</dd>
37
                                 <dt>Expiration Date</dt>
38
                                 <dd>{{ data.expiration_date|date:"d/m/Y"}}&nbsp;</dd>
39
                                 <dt>Max members per group</dt>
40
                                 <dd>{% if  data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd>
41
                         </dl>
42
                 </div>
43
                 
44
                 
45
                 <div class="full-dotted">
46
                        <h3>RESOURCES</h3>
47
                        <p>The following ~okeanos resources will be granted to each member of this Project:</p>
48
                         <dl class="alt-style">        
49
                                 {% for p in policies %}
50
                                          
51
                                         <dt>
52
                                           Max {% if p.is_abbreviation %}{{ p.name|upper }}{% else %}{{ p.name }}{% endif %}{% if not p.unit %}s {% endif  %}  per user
53
                                   </dt>
54
                                         <dd>
55
                                   {% if p.uplimit %}
56
                                            {% if p.unit %}
57
                                                    {{ p.uplimit|sizeof_fmt }}
58
                                            {% else %}
59
                                                    {{ p.uplimit }}
60
                                            {% endif %}
61
                                   {% else %}
62
                                           Unlimited
63
                                   {% endif %}
64
                                   </dd>
65
                           {% empty %}
66
                                   No resources
67
                                 {% endfor %}
68
                         </dl>      
69
                 </div>
70
                 
71
                 <div class="full-dotted">
72
                          
73
                 </div>
74
                
75
                 
76
                 <div class="form-row submit">
77
                           <input type="submit" value="SUBMIT" class="submit altcol" autocomplete="off">
78
                 </div>
79
        </form>
80
    
81
</div>
82
{% endwith %}
83
 
84
{% endblock %}