mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-24 05:42:03 -04: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
7 changed files with 7 additions and 27 deletions
app/assets/javascripts/admin
|
@ -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…
Add table
Reference in a new issue