swap count and term, fix th in users

This commit is contained in:
Barış Soner Uşaklı
2026-02-15 12:05:15 -05:00
parent 3de668794d
commit 0a25ed034e
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@
<table class="table table-sm text-sm search-list w-100">
<thead>
<th>[[admin/dashboard:search-term]]</th>
<th class="text-end">[[admin/dashboard:search-count]]</th>
<th>[[admin/dashboard:search-term]]</th>
</thead>
<tbody>
{{{ if !searches.length}}}
@@ -30,8 +30,8 @@
{{{ end }}}
{{{ each searches }}}
<tr>
<td class="w-0 text-end text-nowrap text-tabular">{formattedNumber(searches.score)}</td>
<td class="w-100 text-truncate" style="max-width:1px;">{searches.value}</td>
<td class="w-0 text-end text-nowrap">{formattedNumber(searches.score)}</td>
</tr>
{{{ end }}}
</tbody>

View File

@@ -120,7 +120,7 @@
<tbody>
{{{ each users }}}
<tr class="user-row align-middle">
<th><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th>
<td><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th>
<td class="text-end text-tabular">{users.uid}</td>
<td>
<i title="[[admin/manage/users:users.banned]]" class="ban fa fa-gavel text-danger{{{ if !users.banned }}} hidden{{{ end }}}"></i>