Revision 5841646f snf-astakos-app/astakos/im/templates/im/astakosgroup_detail.html

b/snf-astakos-app/astakos/im/templates/im/astakosgroup_detail.html
17 17
				{% endif %}
18 18
			</em>		
19 19
		{% endif %}
20
	 	<span>{{object.kindname|upper}}</span>
20
	 	<span>{{ object.name|strip_http|upper }}</span>
21 21
	 </h2>
22 22
	 
23 23
	 <div class="details">
......
84 84
		 <h3>RESOURCES:</h3>		 
85 85
		 {% if quota %}
86 86
		 <dl class="alt-style">
87
		 	 
88 87
		 	{% for k in quota|dkeys %}
89 88
			 	{% with resource_catalog|lookup:'resources' as resources %}
90 89
			 		{% with resources|lookup_uni:k as info %}
91 90
			 		{% with resource_presentation|lookup_uni:k as resource_info %}
92
			 		 
93 91
						<dt>
94
	           				Max {% if resource_info.is_abbreviation %}{{ info.resource|upper }}{% else %}{{ r.resource }}{% endif %}{% if not info.unit %}s {% endif  %}  per user
92
	           				Max {% if resource_info.is_abbreviation %}{{ info.name|upper }}{% else %}{{ info.name }}{% endif %}{% if not info.unit %}s {% endif  %}  per user
95 93
	           			</dt>		                
96 94
						<dd>
97 95
						{% with quota|lookup:k as uplimit%}	
98
		           			 {% if uplimit == "inf" %}
99
		           			 	unlimited
100
		           			 {% else %}
101
		           			 	{{ uplimit }}
102
		           			 {% endif %}
96
		           			 {% if uplimit %}
97
		           				 {% if info.unit %}
98
		           				 	{{ uplimit|sizeof_fmt }}
99
		           				 {% else %}
100
		           				 	{{ uplimit|isinf }}
101
		           				 {% endif %}
102
		           			
103
		           			{% endif %}
103 104
		           			 
104 105
	           			{% endwith%}
105 106
	           			</dd>
......
119 120
            {% if membership %}
120 121
            <form method="GET" class="minimal" action="">
121 122
                <div class="form-row">
122
                    <select name="sorting" onchange="this.form.submit();">
123
                    <select name="sorting" onchange="this.form.submit();" class="dropkicked">
123 124
                        <option value="">Sort by</option>
124 125
                        <option value="person__email" {% if sorting == 'person__email' %}selected{% endif %}>User Id</option>
125 126
                        <option value="person__first_name" {% if sorting == 'person__first_name' %}selected{% endif %}>Name</option>

Also available in: Unified diff