2018-07-21 11:35:53 +08:00
|
|
|
<div class="sections">
|
2024-01-18 20:06:42 +08:00
|
|
|
<PluginOutlet
|
|
|
|
@name="admin-dashboard-moderation-top"
|
|
|
|
@connectorTagName="div"
|
|
|
|
/>
|
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>
|
2024-01-18 20:06:42 +08:00
|
|
|
|
|
|
|
<DashboardPeriodSelector
|
|
|
|
@period={{this.period}}
|
|
|
|
@setPeriod={{this.setPeriod}}
|
|
|
|
@startDate={{this.startDate}}
|
|
|
|
@endDate={{this.endDate}}
|
|
|
|
@setCustomDateRange={{this.setCustomDateRange}}
|
|
|
|
/>
|
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}}
|
2024-01-18 20:06:42 +08:00
|
|
|
@filters={{this.lastWeekFilters}}
|
2022-07-06 01:41:31 +08:00
|
|
|
/>
|
2018-07-21 11:35:53 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="post_edits"
|
2024-01-18 20:06:42 +08:00
|
|
|
@filters={{this.lastWeekFilters}}
|
2022-07-06 01:41:31 +08:00
|
|
|
/>
|
2018-07-21 11:35:53 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<AdminReport
|
|
|
|
@dataSourceName="user_flagging_ratio"
|
2024-01-18 20:06:42 +08:00
|
|
|
@filters={{this.lastWeekFilters}}
|
2022-07-06 01:41:31 +08:00
|
|
|
@reportOptions={{this.userFlaggingRatioOptions}}
|
|
|
|
/>
|
2018-10-26 21:59:04 +08:00
|
|
|
|
2024-01-18 20:06:42 +08:00
|
|
|
<PluginOutlet
|
|
|
|
@name="admin-dashboard-moderation-bottom"
|
|
|
|
@connectorTagName="div"
|
|
|
|
@outletArgs={{hash filters=this.lastWeekFilters}}
|
|
|
|
/>
|
2018-07-21 11:35:53 +08:00
|
|
|
</div>
|
|
|
|
</div>
|