mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 21:53:48 +08:00
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="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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user