DEV: add plugin connectors to the admin user lists table (#18590)
This commit is contained in:
parent
92bfea2f2b
commit
7718ef97cc
|
@ -25,6 +25,8 @@
|
||||||
<TableHeaderToggle @field="posts_read" @labelKey="admin.user.posts_read_count" @order={{this.order}} @asc={{this.asc}} @automatic={{true}} />
|
<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="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}} />
|
<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}}
|
{{#if this.siteSettings.must_approve_users}}
|
||||||
<th>{{i18n "admin.users.approved"}}</th>
|
<th>{{i18n "admin.users.approved"}}</th>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -80,6 +82,8 @@
|
||||||
<div>{{format-duration user.created_at_age}}</div>
|
<div>{{format-duration user.created_at_age}}</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
<PluginOutlet @name="admin-users-list-td-after" @args={{hash user=user query=this.query}} />
|
||||||
|
|
||||||
{{#if this.siteSettings.must_approve_users}}
|
{{#if this.siteSettings.must_approve_users}}
|
||||||
<td>{{i18n-yes-no user.approved}}</td>
|
<td>{{i18n-yes-no user.approved}}</td>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue