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

b/snf-astakos-app/astakos/im/templates/im/astakosgroup_form_summary.html
6 6
 
7 7
{% with form.data as data %}	 	
8 8
<div class="projects summary">
9
	 
10 9
	<form action="{% url group_add_complete %}" method="post" class="quotas-form">{% csrf_token %}
11 10
		<legend>3. CONFIRM YOUR REQUEST</legend>
12 11
<!-- 
......
39 38
			 	<dd>{% if  data.max_participants %}{{ data.max_participants }}{% else %}Unlimited{% endif %}</dd>
40 39
			 </dl>
41 40
		 </div>
41
		 
42
		 
42 43
		 <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
	         
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>      
73 64
		 </div>
65
		 
74 66
		 <div class="full-dotted">
75 67
		 	 
76 68
		 </div>
69
		
77 70
		 
78 71
		 <div class="form-row submit">
79 72
	   		<input type="submit" value="SUBMIT" class="submit altcol" autocomplete="off">

Also available in: Unified diff