Revision 59728d4e snf-astakos-app/astakos/im/templates/im/astakosgroup_detail.html
b/snf-astakos-app/astakos/im/templates/im/astakosgroup_detail.html | ||
---|---|---|
21 | 21 |
</h2> |
22 | 22 |
|
23 | 23 |
<div class="details"> |
24 |
{% if object.is_owner %} |
|
25 |
<a href="#" class="edit">EDIT GROUP INFO</a> |
|
26 |
{% endif %} |
|
24 |
<h3> |
|
25 |
GENERAL INFO |
|
26 |
{% if object.is_owner %} |
|
27 |
<a href="#" class="edit">EDIT</a> |
|
28 |
{% endif %} |
|
29 |
</h3> |
|
30 |
|
|
27 | 31 |
<div class="data"> |
28 |
<p>{{ object.desc }}</p> |
|
32 |
<p class="restricted">{{ object.desc }}</p>
|
|
29 | 33 |
<dl class="alt-style"> |
30 | 34 |
<dt>Homepage url</dt> |
31 | 35 |
<dd> |
... | ... | |
43 | 47 |
{% with update_form as form %} |
44 | 48 |
{% include "im/form_render.html" %} |
45 | 49 |
<div class="form-row submit"> |
46 |
<input type="submit" class="submit altcol" value="FINISHED EDITING" />
|
|
50 |
<input type="submit" class="submit altcol" value="SAVE" />
|
|
47 | 51 |
</div> |
48 | 52 |
{% endwith %} |
49 | 53 |
</form> |
50 | 54 |
</div> |
51 | 55 |
</div> |
52 | 56 |
<div class="full-dotted"> |
53 |
<h3>DETAILS:</h3>
|
|
57 |
<h3>DETAILS</h3> |
|
54 | 58 |
<dl class="alt-style"> |
55 | 59 |
<dt>Name</dt> |
56 | 60 |
<dd>{{ object.name|strip_http }} </dd> |
... | ... | |
80 | 84 |
</dl> |
81 | 85 |
</div> |
82 | 86 |
<div class="full-dotted"> |
83 |
<h3>RESOURCES:</h3>
|
|
87 |
<h3>RESOURCES</h3> |
|
84 | 88 |
{% if quota %} |
85 | 89 |
<dl class="alt-style"> |
86 | 90 |
{% for q in quota %} |
... | ... | |
99 | 103 |
Unlimited |
100 | 104 |
{% endif %} |
101 | 105 |
</dd> |
106 |
{% empty %} |
|
107 |
No resources |
|
102 | 108 |
{% endfor %} |
109 |
|
|
110 |
|
|
103 | 111 |
</dl> |
104 | 112 |
{% else %} |
105 | 113 |
<p>No resources</p> |
... | ... | |
113 | 121 |
<form method="GET" class="minimal" action="#members-table"> |
114 | 122 |
<div class="form-row"> |
115 | 123 |
<select name="sorting" onchange="this.form.submit();" class="dropkicked"> |
116 |
<option value="">Sort by</option> |
|
117 |
<option value="person__email" {% if sorting == 'person__email' %}selected{% endif %}>User Id</option> |
|
118 |
<option value="person__first_name" {% if sorting == 'person__first_name' %}selected{% endif %}>Name</option> |
|
119 |
<option value="date_joined" {% if sorting == 'date_joined' %}selected{% endif %}>Status</option> |
|
124 |
<option value="person__email" {% if sorting == 'person__email' %}selected{% endif %}>Sort by User Id</option> |
|
125 |
<option value="person__first_name" {% if sorting == 'person__first_name' %}selected{% endif %}>Sort by Name</option> |
|
126 |
<option value="date_joined" {% if sorting == 'date_joined' %}selected{% endif %}>Sort by Status</option> |
|
120 | 127 |
</select> |
121 | 128 |
</div> |
122 | 129 |
</form> |
Also available in: Unified diff