discourse/app/assets/javascripts/admin/templates/dashboard_next_moderation.hbs
Joffrey JAFFEUX e655e1863f
UX: Adding reports dashboard tab, new layout, report descriptions (#6790)
Co-Authored-By: Kris  <shout@k-ris.com>
2018-12-19 14:44:43 +01:00

44 lines
1.1 KiB
Handlebars

<div class="sections">
{{plugin-outlet name="admin-dashboard-moderation-top"}}
<div class="moderators-activity section">
<div class="section-title">
<h2>
<a href="{{get-url '/admin/dashboard/reports/moderators_activity'}}">
{{i18n "admin.dashboard.moderators_activity"}}
</a>
</h2>
{{period-chooser
period=period
action="changePeriod"
content=availablePeriods
fullDay=true}}
</div>
<div class="section-body">
{{admin-report
filters=filters
showHeader=false
dataSourceName="moderators_activity"}}
</div>
</div>
<div class="main-section">
{{admin-report
dataSourceName="flags_status"
reportOptions=flagsStatusOptions
filters=lastWeekfilters}}
{{admin-report
dataSourceName="post_edits"
filters=lastWeekfilters}}
{{admin-report
dataSourceName="user_flagging_ratio"
filters=lastWeekfilters
reportOptions=userFlaggingRatioOptions}}
{{plugin-outlet name="admin-dashboard-moderation-bottom"}}
</div>
</div>