Revision 6da417da snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html
b/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html | ||
---|---|---|
39 | 39 |
{% with d|lookup:'own' as mine %} |
40 | 40 |
{% if mine %} |
41 | 41 |
<div class="full-dotted"> |
42 |
<table class="alt-style table_sorting complex" id="">
|
|
42 |
<table class="alt-style complex" id=""> |
|
43 | 43 |
<caption>MY GROUPS</caption> |
44 | 44 |
<thead> |
45 | 45 |
<tr> |
... | ... | |
51 | 51 |
<th>Status</th> |
52 | 52 |
<th>Moderated</th> |
53 | 53 |
<th> </th> |
54 |
|
|
54 | 55 |
</tr> |
55 | 56 |
</thead> |
56 | 57 |
<tbody> |
57 | 58 |
{% for o in mine %} |
58 | 59 |
<tr class="{% cycle 'tr1' 'tr2' %}"> |
59 |
<td><a class="extra-link" href="{% url group_detail o.id %}">{{o.name|cut:"http://"|cut:"/" }}</a></td>
|
|
60 |
<td><a href="{% url group_detail o.id %}" title="visit group page">{{o.name|cut:"http://"|cut:"/" }}</a></td>
|
|
60 | 61 |
<td>{{o.kind|capfirst}}</td> |
61 | 62 |
<td>{{o.issue_date|date:"d/m/Y"}}</td> |
62 | 63 |
<td>{{o.expiration_date|date:"d/m/Y"}}</td> |
63 | 64 |
<td>{{ o.approved_members|length }}</td> |
64 | 65 |
<td>{% if o.is_enabled %}Active{% else %}Pending{% endif %}</td> |
65 | 66 |
<td>{% if o.moderation_enabled%}Yes{% else %}No{% endif %}</td> |
66 |
<td><a href="#" class="more-info">[ + More Info ]</a></td>
|
|
67 |
<td><a href="#" class="more-info" title="more info"> </a></td>
|
|
67 | 68 |
</tr> |
68 | 69 |
<tr class="{% cycle 'tmore1' 'tmore2' %}" style="display:none"> |
69 |
<td colspan="8">{{o.desc}}</td> |
|
70 |
<td colspan="8" class="info-td"> |
|
71 |
<div> |
|
72 |
<p>{{o.desc}}</p> |
|
73 |
<p>{% if o.homepage%} |
|
74 |
Vistit group's home page: <a href="{{ o.homepage }}">{{ o.homepage }}</a> |
|
75 |
{% else %} |
|
76 |
There is no homepage for this group yet. |
|
77 |
{% endif %} |
|
78 |
</p> |
|
79 |
</div> |
|
80 |
</td> |
|
70 | 81 |
</tr> |
71 | 82 |
{% endfor %} |
72 | 83 |
</tbody> |
... | ... | |
78 | 89 |
{% with d|lookup:'other' as other %} |
79 | 90 |
{% if other %} |
80 | 91 |
<div class="full-dotted"> |
81 |
<table class="alt-style table_sorting">
|
|
92 |
<table class="alt-style complex">
|
|
82 | 93 |
<caption> |
83 | 94 |
{% if is_search %} |
84 | 95 |
SEARCH RESULTS |
... | ... | |
97 | 108 |
|
98 | 109 |
|
99 | 110 |
<th>Enrollment status</th> |
111 |
<th> </th> |
|
100 | 112 |
|
101 | 113 |
</tr> |
102 | 114 |
</thead> |
103 | 115 |
<tbody> |
104 | 116 |
{% for o in other %} |
105 |
<tr> |
|
106 |
<td><a class="extra-link" href="{% url group_detail o.id %}">{{o.name|cut:"http://"|cut:"/" }}</a></td>
|
|
117 |
<tr class="{% cycle 'tr1' 'tr2' %}">
|
|
118 |
<td><a href="{% url group_detail o.id %}" title="visit group page">{{o.name|cut:"http://"|cut:"/" }}</a></td>
|
|
107 | 119 |
<td>{{o.kind|capfirst}}</td> |
108 | 120 |
<td>{{o.issue_date|date:"d/m/Y"}}</td> |
109 | 121 |
<td>{{o.expiration_date|date:"d/m/Y"}}</td> |
... | ... | |
131 | 143 |
{% endif %} |
132 | 144 |
{% endif %} |
133 | 145 |
</td> |
146 |
<td><a href="#" class="more-info" title="more info"> </a></td> |
|
147 |
</tr> |
|
148 |
<tr class="{% cycle 'tmore1' 'tmore2' %}" style="display:none"> |
|
149 |
<td colspan="8" class="info-td"> |
|
150 |
<div> |
|
151 |
<p>{{o.desc}}</p> |
|
152 |
<p>{% if o.homepage%} |
|
153 |
Vistit group's home page: <a href="{{ o.homepage }}">{{ o.homepage }}</a> |
|
154 |
{% else %} |
|
155 |
There is no homepage for this group yet. |
|
156 |
{% endif %} |
|
157 |
</p> |
|
158 |
</div> |
|
159 |
</td> |
|
134 | 160 |
</tr> |
135 | 161 |
{% endfor %} |
136 | 162 |
</tbody> |
Also available in: Unified diff