move time in group memberships to accomodate mobilecels

master
Aevann 2024-04-06 03:05:21 +02:00
parent 4d1fe434b3
commit d22bbadccc
1 changed files with 10 additions and 10 deletions

View File

@ -52,15 +52,15 @@
<th>#</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' %}
<th>Approved on</th>
{% else %}
<th>Applied on</th>
{% endif %}
{% if v.is_member_of_group(group) or v.mods_group(group) %}
<th class="disable-sort-click"></th>
{% endif %}
</tr>
</thead>
<tbody id="{{name}}_tbody">
@ -79,12 +79,6 @@
{% endif %}
</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>
{% if v.mods_group(group) %}
{% 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>
{% endif %}
</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>
{% endfor %}
</tbody>