Skip to content

Node.js based forum software built for the modern web

swap count and term, fix th in users

Barış Soner Uşaklı0a25ed034ef1
diff --git a/src/views/admin/dashboard/searches.tpl b/src/views/admin/dashboard/searches.tpl
index a5f34852b3..72fac3a0f2 100644
--- a/src/views/admin/dashboard/searches.tpl
+++ b/src/views/admin/dashboard/searches.tpl
@@ -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>
diff --git a/src/views/admin/manage/users.tpl b/src/views/admin/manage/users.tpl
index 1f196d361b..c3a411f854 100644
--- a/src/views/admin/manage/users.tpl
+++ b/src/views/admin/manage/users.tpl
@@ -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>