FIX: Table header translations on admin users list (#13505)

This commit is contained in:
Mark VanLandingham 2021-06-23 13:19:30 -05:00 committed by GitHub
parent 385535f421
commit 7c94efd6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,14 +23,14 @@
{{#if model}}
<table class="table users-list grid">
<thead>
{{table-header-toggle field="username" labelKey="username" order=order asc=asc}}
{{table-header-toggle class=(if showEmails "" "hidden") field="email" labelKey="email" order=order asc=asc}}
{{table-header-toggle field="last_emailed" labelKey="admin.users.last_emailed" order=order asc=asc}}
{{table-header-toggle field="seen" labelKey="last_seen" order=order asc=asc}}
{{table-header-toggle field="topics_viewed" labelKey="admin.user.topics_entered" order=order asc=asc}}
{{table-header-toggle field="posts_read" labelKey="admin.user.posts_read_count" order=order asc=asc}}
{{table-header-toggle field="read_time" labelKey="admin.user.time_read" order=order asc=asc}}
{{table-header-toggle field="created" labelKey="created" order=order asc=asc}}
{{table-header-toggle field="username" labelKey="username" order=order asc=asc automatic=true}}
{{table-header-toggle class=(if showEmails "" "hidden") field="email" labelKey="email" order=order asc=asc automatic=true}}
{{table-header-toggle field="last_emailed" labelKey="admin.users.last_emailed" order=order asc=asc automatic=true}}
{{table-header-toggle field="seen" labelKey="last_seen" order=order asc=asc automatic=true}}
{{table-header-toggle field="topics_viewed" labelKey="admin.user.topics_entered" order=order asc=asc automatic=true}}
{{table-header-toggle field="posts_read" labelKey="admin.user.posts_read_count" order=order asc=asc automatic=true}}
{{table-header-toggle field="read_time" labelKey="admin.user.time_read" order=order asc=asc automatic=true}}
{{table-header-toggle field="created" labelKey="created" order=order asc=asc automatic=true}}
{{#if siteSettings.must_approve_users}}
<th>{{i18n "admin.users.approved"}}</th>
{{/if}}