Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / astakosgroup_form_summary.html @ 3cbd5e47

History | View | Annotate | Download (2 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>3. CONFIRM YOUR REQUEST</legend>
11
<!-- 
12
                 {% for k,v in data.iteritems %}
13
                         <input type="hidden" name="{{ k }}" value="{{ v }}">
14
                 {% endfor %}
15
 -->
16
        {% include "im/form_render.html" %}
17
                
18
                <p>{{ data.desc|safe }}</p>
19
                <dl class="alt-style">                            
20
                        <dt>Homepage Url</dt>
21
                        <dd>{{ data.homepage }}&nbsp;</dd>
22
                </dl>
23
                
24
                <div class="full-dotted">
25
                         <h3>DETAILS:</h3>
26
                         <dl class="alt-style">                            
27
                            <dt>Name</dt>
28
                                 <dd>{{ data.name|strip_http }}&nbsp;</dd>
29
                                 <!--<dt>Type</dt>
30
                                 <dd>Course&nbsp;</dd>-->
31
                                 <dt>Issue date:</dt>
32
                                 <dd>{{ data.issue_date|date:"d/m/Y"}}&nbsp;</dd>
33
                                 <dt>Expiration Date</dt>
34
                                 <dd>{{ data.expiration_date|date:"d/m/Y"}}&nbsp;</dd>
35
                                 <dt>Modaration</dt>
36
                                 <dd>{{ data.moderation_enabled|yesno:"Yes, No" }}</dd>
37
                                 <dt>Max members per group</dt>
38
                                 <dd>{% if  data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd>
39
                         </dl>
40
                 </div>
41
                 
42
                 
43
                 <div class="full-dotted">
44
                        <h3>RESOURCES:</h3>
45
                         <dl class="alt-style">        
46
                                 {% for p in policies %}
47
                                          
48
                                         <dt>
49
                                           Max {% if p.is_abbreviation %}{{ p.name|upper }}{% else %}{{ p.name }}{% endif %}{% if not p.unit %}s {% endif  %}  per user
50
                                   </dt>
51
                                         <dd>
52
                                   {% if p.uplimit %}
53
                                            {% if p.unit %}
54
                                                    {{ p.uplimit|sizeof_fmt }}
55
                                            {% else %}
56
                                                    {{ p.uplimit }}
57
                                            {% endif %}
58
                                   {% else %}
59
                                           Unlimited
60
                                   {% endif %}
61
                                   </dd>
62
                                 {% endfor %}
63
                         </dl>      
64
                 </div>
65
                 
66
                 <div class="full-dotted">
67
                          
68
                 </div>
69
                
70
                 
71
                 <div class="form-row submit">
72
                           <input type="submit" value="SUBMIT" class="submit altcol" autocomplete="off">
73
                 </div>
74
        </form>
75
    
76
</div>
77
{% endwith %}
78
 
79
{% endblock %}