Ratioed: fix sorting by columns
This commit is contained in:
parent
d495810b2d
commit
81639ff615
1 changed files with 7 additions and 7 deletions
|
@ -22,9 +22,9 @@
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
{{foreach $th_users as $k=>$th}}
|
{{foreach $th_users as $k=>$th}}
|
||||||
{{if $k < 2 || $order_users == $th.1 || ($k==5 && !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1])) }}
|
{{if $k < 2 || $order_users == $th.1 || ($k==4 && !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.5.1])) }}
|
||||||
<th class="th-{{$k}}">
|
<th class="th-{{$k}}">
|
||||||
<a href="{{$baseurl}}/moderation/users/active?o={{if $order_direction_users == "+"}}-{{/if}}{{$th.1}}" class="table-order">
|
<a href="{{$baseurl}}/ratioed?o={{if $order_direction_users == "+"}}-{{/if}}{{$th.1}}" class="table-order">
|
||||||
{{if $order_users == $th.1}}
|
{{if $order_users == $th.1}}
|
||||||
{{if $order_direction_users == "+"}}
|
{{if $order_direction_users == "+"}}
|
||||||
↓
|
↓
|
||||||
|
@ -66,11 +66,7 @@
|
||||||
<td>{{$u.login_date}}</td>
|
<td>{{$u.login_date}}</td>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $order_users == $th_users.4.1}}
|
{{if $order_users == $th_users.5.1}}
|
||||||
<td>{{$u.lastitem_date}}</td>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{if !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1]) }}
|
|
||||||
<td>
|
<td>
|
||||||
<i class="fa
|
<i class="fa
|
||||||
{{if $u.page_flags_raw==0}}fa-user{{/if}} {{* PAGE_NORMAL *}}
|
{{if $u.page_flags_raw==0}}fa-user{{/if}} {{* PAGE_NORMAL *}}
|
||||||
|
@ -94,6 +90,10 @@
|
||||||
</td>
|
</td>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
{{if !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.5.1]) }}
|
||||||
|
<td>{{$u.lastitem_date}}</td>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<button type="button" class="btn-link admin-settings-action-link" onclick="return details({{$u.uid}})"><span class="caret"></span></button>
|
<button type="button" class="btn-link admin-settings-action-link" onclick="return details({{$u.uid}})"><span class="caret"></span></button>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue