move time in group memberships to accomodate mobilecels
parent
4d1fe434b3
commit
d22bbadccc
|
@ -52,15 +52,15 @@
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
|
||||||
|
{% if v.is_member_of_group(group) or v.mods_group(group) %}
|
||||||
|
<th class="disable-sort-click"></th>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if name == 'members' %}
|
{% if name == 'members' %}
|
||||||
<th>Approved on</th>
|
<th>Approved on</th>
|
||||||
{% else %}
|
{% else %}
|
||||||
<th>Applied on</th>
|
<th>Applied on</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v.is_member_of_group(group) or v.mods_group(group) %}
|
|
||||||
<th class="disable-sort-click"></th>
|
|
||||||
{% endif %}
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="{{name}}_tbody">
|
<tbody id="{{name}}_tbody">
|
||||||
|
@ -79,12 +79,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{% if name == 'members' %}
|
|
||||||
<td id="time-{{membership.user_id}}" data-time="{{membership.approved_utc}}"></td>
|
|
||||||
{% else %}
|
|
||||||
<td id="time-{{membership.user_id}}" data-time="{{membership.created_utc}}"></td>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
{% if v.mods_group(group) %}
|
{% if v.mods_group(group) %}
|
||||||
{% if v.id == group.owner_id and v.id != membership.user_id %}
|
{% if v.id == group.owner_id and v.id != membership.user_id %}
|
||||||
|
@ -110,6 +104,12 @@
|
||||||
<button type="button" class="btn btn-danger btn-block" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)" data-areyousure="postToastReload(this,'/!{{group}}/usurp')">Usurp</button>
|
<button type="button" class="btn btn-danger btn-block" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)" data-areyousure="postToastReload(this,'/!{{group}}/usurp')">Usurp</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
{% if name == 'members' %}
|
||||||
|
<td id="time-{{membership.user_id}}" data-time="{{membership.approved_utc}}"></td>
|
||||||
|
{% else %}
|
||||||
|
<td id="time-{{membership.user_id}}" data-time="{{membership.created_utc}}"></td>
|
||||||
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue