2018-07-20 02:33:11 +08:00
|
|
|
{{#conditional-loading-spinner condition=isLoading}}
|
|
|
|
{{plugin-outlet name="admin-dashboard-general-top"}}
|
|
|
|
|
|
|
|
<div class="community-health section">
|
|
|
|
<div class="period-section">
|
|
|
|
<div class="section-title">
|
2018-07-20 07:30:26 +08:00
|
|
|
<h2>
|
|
|
|
<a href="/admin/reports">
|
|
|
|
{{i18n "admin.dashboard.community_health"}}
|
|
|
|
</a>
|
|
|
|
</h2>
|
2018-07-20 02:33:11 +08:00
|
|
|
{{period-chooser period=period action="changePeriod" content=availablePeriods fullDay=true}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-body">
|
|
|
|
<div class="charts">
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="signups"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="topics"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="posts"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="dau_by_mau"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="daily_engaged_users"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
|
|
|
dataSourceName="new_contributors"
|
|
|
|
showTrend=true
|
|
|
|
forcedModes="chart"
|
2018-07-27 13:22:00 +08:00
|
|
|
filters=filters}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-columns">
|
|
|
|
<div class="section-column">
|
|
|
|
<div class="admin-report activity-metrics">
|
2018-08-07 04:57:40 +08:00
|
|
|
<div class="report-header">
|
|
|
|
<div class="report-title">
|
|
|
|
<h3 class="title">
|
|
|
|
{{#link-to "adminReports" class="report-link"}}
|
|
|
|
{{i18n "admin.dashboard.activity_metrics"}}
|
|
|
|
{{/link-to}}
|
|
|
|
</h3>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
2018-08-07 04:57:40 +08:00
|
|
|
</div>
|
|
|
|
<div class="report-body">
|
|
|
|
<div class="admin-report-counters-list">
|
|
|
|
<div class="counters-header">
|
|
|
|
<div class="header"></div>
|
|
|
|
<div class="header">{{i18n 'admin.dashboard.reports.today'}}</div>
|
|
|
|
<div class="header">{{i18n 'admin.dashboard.reports.yesterday'}}</div>
|
|
|
|
<div class="header">{{i18n 'admin.dashboard.reports.last_7_days'}}</div>
|
|
|
|
<div class="header">{{i18n 'admin.dashboard.reports.last_30_days'}}</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
2018-08-07 04:57:40 +08:00
|
|
|
|
|
|
|
{{#each activityMetrics as |metric|}}
|
|
|
|
{{admin-report
|
|
|
|
showHeader=false
|
|
|
|
forcedModes="counters"
|
|
|
|
dataSourceName=metric}}
|
|
|
|
{{/each}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
2018-08-07 04:57:40 +08:00
|
|
|
</div>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
{{#link-to "adminReports"}}
|
|
|
|
{{i18n "admin.dashboard.all_reports"}}
|
|
|
|
{{/link-to}}
|
|
|
|
|
|
|
|
<div class="user-metrics">
|
2018-08-07 04:57:40 +08:00
|
|
|
{{#conditional-loading-section isLoading=isLoading}}
|
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
|
|
|
report=usersByTypeReport
|
|
|
|
lastRefreshedAt=lastRefreshedAt}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
2018-08-07 04:57:40 +08:00
|
|
|
{{admin-report
|
|
|
|
forcedModes="inline-table"
|
|
|
|
report=usersByTrustLevelReport
|
|
|
|
lastRefreshedAt=lastRefreshedAt}}
|
|
|
|
{{/conditional-loading-section}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#conditional-loading-section isLoading=isLoading title=(i18n "admin.dashboard.backups")}}
|
|
|
|
<div class="misc">
|
|
|
|
|
|
|
|
{{#if shouldDisplayDurability}}
|
|
|
|
<div class="durability">
|
|
|
|
{{#if currentUser.admin}}
|
|
|
|
<div class="backups">
|
|
|
|
<h3 class="durability-title">
|
|
|
|
<a href="/admin/backups">{{d-icon "archive"}} {{i18n "admin.dashboard.backups"}}</a>
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
{{diskSpace.backups_used}} ({{i18n "admin.dashboard.space_free" size=diskSpace.backups_free}})
|
2018-07-27 06:38:55 +08:00
|
|
|
|
|
|
|
{{#if lastBackupTakenAt}}
|
|
|
|
<br />
|
|
|
|
{{{i18n "admin.dashboard.lastest_backup" date=backupTimestamp}}}
|
|
|
|
{{/if}}
|
2018-07-20 02:33:11 +08:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="uploads">
|
|
|
|
<h3 class="durability-title">{{d-icon "upload"}} {{i18n "admin.dashboard.uploads"}}</h3>
|
|
|
|
<p>
|
|
|
|
{{diskSpace.uploads_used}} ({{i18n "admin.dashboard.space_free" size=diskSpace.uploads_free}})
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="last-dashboard-update">
|
|
|
|
<div>
|
|
|
|
<h4>{{i18n "admin.dashboard.last_updated"}} </h4>
|
|
|
|
<p>{{updatedTimestamp}}</p>
|
|
|
|
<a rel="noopener" target="_blank" href="https://meta.discourse.org/tags/release-notes" class="btn">
|
2018-08-07 20:19:52 +08:00
|
|
|
{{i18n "admin.dashboard.whats_new_in_discourse"}}
|
|
|
|
</a>
|
2018-07-20 02:33:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
{{i18n 'admin.dashboard.find_old'}} {{#link-to 'admin.dashboard'}}{{i18n "admin.dashboard.old_link"}}{{/link-to}}
|
|
|
|
</p>
|
|
|
|
{{/conditional-loading-section}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-column">
|
2018-07-21 22:29:58 +08:00
|
|
|
{{admin-report
|
|
|
|
dataSourceName="top_referred_topics"
|
2018-07-27 13:22:00 +08:00
|
|
|
reportOptions=topReferredTopicsTopions}}
|
2018-07-20 02:33:11 +08:00
|
|
|
|
|
|
|
{{admin-report
|
2018-07-21 11:35:53 +08:00
|
|
|
dataSourceName="trending_search"
|
2018-07-20 02:33:11 +08:00
|
|
|
reportOptions=trendingSearchOptions
|
|
|
|
isEnabled=logSearchQueriesEnabled
|
2018-07-27 13:22:00 +08:00
|
|
|
disabledLabel="admin.dashboard.reports.trending_search.disabled"}}
|
2018-07-20 02:33:11 +08:00
|
|
|
{{{i18n "admin.dashboard.reports.trending_search.more"}}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{plugin-outlet name="admin-dashboard-general-bottom"}}
|
|
|
|
{{/conditional-loading-spinner}}
|