Revision 6556e514 snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html

b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html
51 51
			<p>The following ~okeanos resources will be granted to each member of this Project:</p>
52 52
		 	<dl class="alt-style">
53 53
		 	    {% for rp in form.resource_policies %}
54
		 	        {% with resource_catalog|lookup:'resources' as resource_info %}
55
		 		        {% with rp.service|add:'.'|add:rp.resource as resource_name %}
56
		 	                {% with resource_info|lookup:resource_name as resource %}
57 54
		 		    <dt>
58
           				Max {% if resource.is_abbreviation %}{{ resource.verbose_name|upper }}{% else %}{{ resource.verbose_name }}{% endif %}{% if not resource.unit %}s {% endif  %}  per user
55
           				Max {% if rp.is_abbreviation %}
56
                                {{ rp.verbose_name|upper }}
57
                            {% else %}
58
                                {{ rp.verbose_name }}
59
                            {% endif %}
60
                            {% if not rp.unit %}s {% endif  %}  per user
59 61
           			</dt>
60 62
			 		<dd>
61 63
           			{% if rp.uplimit %}
62
           				 {% if resource.unit %}
64
           				 {% if rp.unit %}
63 65
           				 	{{ rp.uplimit|sizeof_fmt }}
64 66
           				 {% else %}
65 67
           				 	{{ rp.uplimit }}
......
68 70
           				Unlimited
69 71
           			{% endif %}
70 72
           			</dd>
71
           			        {% endwith %}
72
           			    {% endwith %}
73
           			{% endwith %}
74 73
           		{% empty %}
75 74
           			No resources
76 75
		 		{% endfor %}
......
95 94
	
96 95
</script>	 
97 96

  
98
{% endblock %}
97
{% endblock %}

Also available in: Unified diff