2018-07-21 11:35:53 +08:00
|
|
|
<div class="sections">
|
2023-01-31 19:33:26 +08:00
|
|
|
<span>
|
|
|
|
<PluginOutlet
|
|
|
|
@name="admin-dashboard-moderation-top"
|
|
|
|
@connectorTagName="div"
|
|
|
|
/>
|
|
|
|
</span>
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.isModeratorsActivityVisible}}
|
2020-04-30 23:31:04 +08:00
|
|
|
<div class="moderators-activity section">
|
|
|
|
<div class="section-title">
|
|
|
|
<h2>
|
|
|
|
<a href={{get-url "/admin/reports/moderators_activity"}}>
|
|
|
|
{{i18n "admin.dashboard.moderators_activity"}}
|
|
|
|
</a>
|
|
|
|
</h2>
|
2022-07-06 01:41:31 +08:00
|
|
|
<PeriodChooser
|
|
|
|
@period={{this.period}}
|
|
|
|
@action={{action "changePeriod"}}
|
|
|
|
@content={{this.availablePeriods}}
|
|
|
|
@fullDay={{false}}
|
|
|
|
/>
|
2020-04-30 23:31:04 +08:00
|
|
|
</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2020-04-30 23:31:04 +08:00
|
|
|
<div class="section-body">
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@filters={{this.filters}}
|
|
|
|
@showHeader={{false}}
|
|
|
|
@dataSourceName="moderators_activity"
|
|
|
|
/>
|
2020-04-30 23:31:04 +08:00
|
|
|
</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
2020-04-30 23:31:04 +08:00
|
|
|
{{/if}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2018-07-21 11:35:53 +08:00
|
|
|
<div class="main-section">
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="flags_status"
|
|
|
|
@reportOptions={{this.flagsStatusOptions}}
|
|
|
|
@filters={{this.lastWeekfilters}}
|
|
|
|
/>
|
2018-07-21 11:35:53 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="post_edits"
|
|
|
|
@filters={{this.lastWeekfilters}}
|
|
|
|
/>
|
2018-07-21 11:35:53 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="user_flagging_ratio"
|
|
|
|
@filters={{this.lastWeekfilters}}
|
|
|
|
@reportOptions={{this.userFlaggingRatioOptions}}
|
|
|
|
/>
|
2018-10-26 21:59:04 +08:00
|
|
|
|
2023-01-31 19:33:26 +08:00
|
|
|
<span>
|
|
|
|
<PluginOutlet
|
|
|
|
@name="admin-dashboard-moderation-bottom"
|
|
|
|
@connectorTagName="div"
|
2023-01-31 20:58:31 +08:00
|
|
|
@outletArgs={{hash filters=this.lastWeekfilters}}
|
2023-01-31 19:33:26 +08:00
|
|
|
/>
|
|
|
|
</span>
|
2018-07-21 11:35:53 +08:00
|
|
|
</div>
|
|
|
|
</div>
|