DEV: add plugin connectors to the admin user lists table (#18590)

This commit is contained in:
Jean 2022-10-13 22:32:48 -04:00 committed by GitHub
parent 92bfea2f2b
commit 7718ef97cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,8 @@
<TableHeaderToggle @field="posts_read" @labelKey="admin.user.posts_read_count" @order={{this.order}} @asc={{this.asc}} @automatic={{true}} />
<TableHeaderToggle @field="read_time" @labelKey="admin.user.time_read" @order={{this.order}} @asc={{this.asc}} @automatic={{true}} />
<TableHeaderToggle @field="created" @labelKey="created" @order={{this.order}} @asc={{this.asc}} @automatic={{true}} />
<PluginOutlet @name="admin-users-list-thead-after" @args={{hash order=this.order asc=this.asc}} />
{{#if this.siteSettings.must_approve_users}}
<th>{{i18n "admin.users.approved"}}</th>
{{/if}}
@ -80,6 +82,8 @@
<div>{{format-duration user.created_at_age}}</div>
</td>
<PluginOutlet @name="admin-users-list-td-after" @args={{hash user=user query=this.query}} />
{{#if this.siteSettings.must_approve_users}}
<td>{{i18n-yes-no user.approved}}</td>
{{/if}}