Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / projects / projectapplication_form_summary.html @ 32a70876

History | View | Annotate | Download (2.7 kB)

1
{% load filters %}
2
{% block headjs %}
3
        {{ block.super }}         
4
        <script src="{{ IM_STATIC_URL }}js/quotas.js"></script>        
5
{% endblock %}        
6
{% block page.body %}
7

    
8
<div class="projects summary">
9
        <form action="?edit=0&verify=0" method="post" class="quotas-form">{% csrf_token %}
10
            {% for k,v in request.POST.items %}
11
                {% if k != 'csrfmiddlewaretoken' %}
12
                    <input type="hidden" name="{{k}}"  id="{{'id_'|add:k}}" value="{{v}}">
13
                {% endif %}
14
            {% endfor %}
15
                <div class="full-dotted">
16
                        <h3>PROJECT DETAILS</h3>
17
                        <p class="restricted">{{ form_data.desc }}</p>
18
                        <dl class="alt-style">
19
                                <dt>Name</dt>
20
                                 <dd>{{ form_data.name }}&nbsp;</dd>
21
                                 <dt>Homepage Url</dt>
22
                                <dd>{{ form_data.homepage }}&nbsp;</dd>
23
                                <dt>Description</dt>
24
                                <dd>{{ form_data.description }}&nbsp;</dd>
25
                                 <dt>Start date</dt>
26
                                 <dd>{{ form_data.start_date|date:"d/m/Y"}}&nbsp;</dd>
27
                                 <dt>End Date</dt>
28
                                 <dd>{{ form_data.end_date|date:"d/m/Y"}}&nbsp;</dd>                
29
                                 <dt>Comments</dt>
30
                                <dd>{{ form_data.comments }}&nbsp;</dd>            
31
                                
32
                        </dl>
33
                </div>
34
                <div class="full-dotted">
35
                         <h3>MEMBERSHIP OPTIONS</h3>
36
                         <dl class="alt-style">                            
37
                <dt>Member join policy</dt>
38
                                 <dd>{{ join_policies|lookup:form_data.member_join_policy|title }}</dd>
39
                                 <dt>Member leave policy</dt>
40
                                 <dd>{{ leave_policies|lookup:form_data.member_leave_policy|title }}</dd>
41
                                 <dt>Total number of members</dt>
42
                                 <dd>{{ form_data.limit_on_members_number }}</dd>
43
                         </dl>
44
                 </div>
45
                 
46
                 
47
                 <div class="full-dotted">
48
                        <h3>RESOURCES</h3>
49
                        <p>The following resources will be granted to each member of this Project:</p>
50
                         <dl class="alt-style">
51
                             {% for rp in form.resource_policies %}
52
                                     <dt>
53
                        Max {{rp.pluralized_display_name}} per user
54
                                   </dt>
55
                                         <dd>
56
                                                 
57
                                   {% if rp.uplimit %}
58
                                            {% if rp.unit %}
59
                                                    {{ rp.uplimit|sizeof_fmt }}
60
                                            {% else %}
61
                                                    {{ rp.uplimit }}
62
                                            {% endif %}
63
                                   {% else %}
64
                                           Unlimited
65
                                   {% endif %}
66
                                   </dd>
67
                           {% empty %}
68
                                   No resources
69
                                 {% endfor %}
70
                         </dl>      
71
                 </div>
72
                 
73
                 <div class="full-dotted">
74
                          
75
                 </div>
76
                
77
                 
78
                <input type="hidden" name="user"  id="id_user" value="{{user.id}}">
79
                <div class="form-row submit">
80
            <input type="submit" value="BACK" class="submit lt"  onclick='this.form.action="?edit=1&verify=0";'>
81
            <input type="submit" value="SUBMIT" class="submit" >
82
            <a href="{% url project_add %}" class="rt">CANCEL</a>
83
        </div>
84
        </form>
85
    
86
    
87
</div>
88
         
89
<script>
90
        
91
</script>         
92

    
93
{% endblock %}