mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Update admin dashboard views now that ember lets us render the same view multiple times with different models
This commit is contained in:
parent
3d4fb43c73
commit
ab412dd8b4
@ -93,12 +93,12 @@
|
||||
</tr>
|
||||
</thead>
|
||||
{{#unless loading}}
|
||||
{{ render 'admin_report_signups' signups }}
|
||||
{{ render 'admin_report_topics' topics }}
|
||||
{{ render 'admin_report_posts' posts }}
|
||||
{{ render 'admin_report_likes' likes }}
|
||||
{{ render 'admin_report_flags' flags }}
|
||||
{{ render 'admin_report_emails' emails }}
|
||||
{{ render 'admin_report_counts' signups }}
|
||||
{{ render 'admin_report_counts' topics }}
|
||||
{{ render 'admin_report_counts' posts }}
|
||||
{{ render 'admin_report_counts' likes }}
|
||||
{{ render 'admin_report_counts' flags }}
|
||||
{{ render 'admin_report_counts' emails }}
|
||||
{{/unless}}
|
||||
</table>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
Discourse.AdminReportEmailsView = Discourse.View.extend({
|
||||
Discourse.AdminReportCountsView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
Discourse.AdminReportFlagsView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
Discourse.AdminReportLikesView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
Discourse.AdminReportPostsView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
Discourse.AdminReportSignupsView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
@ -1,4 +0,0 @@
|
||||
Discourse.AdminReportTopicsView = Discourse.View.extend({
|
||||
templateName: 'admin/templates/reports/summed_counts_report',
|
||||
tagName: 'tbody'
|
||||
});
|
Loading…
Reference in New Issue
Block a user