mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
Trying to improve dashboard layout with the referral stats on the right
This commit is contained in:
@@ -175,30 +175,7 @@
|
||||
<table class="table table-condensed table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{top_referrers.title}}</th>
|
||||
<th>{{top_referrers.ytitles.num_visits}}</th>
|
||||
<th>{{top_referrers.ytitles.num_topics}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{#unless loading}}
|
||||
{{#each top_referrers.data}}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">{{#linkTo adminUser username}}{{username}}{{/linkTo}}</td>
|
||||
<td class="value">{{num_visits}}</td>
|
||||
<td class="value">{{num_topics}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{{/each}}
|
||||
{{/unless}}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-stats">
|
||||
<table class="table table-condensed table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{top_referred_topics.title}}</th>
|
||||
<th class="title">{{top_referred_topics.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
|
||||
<th>{{top_referred_topics.ytitles.num_visits}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -219,7 +196,7 @@
|
||||
<table class="table table-condensed table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{top_traffic_sources.title}}</th>
|
||||
<th class="title">{{top_traffic_sources.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
|
||||
<th>{{top_traffic_sources.ytitles.num_visits}}</th>
|
||||
<th>{{top_traffic_sources.ytitles.num_topics}}</th>
|
||||
<th>{{top_traffic_sources.ytitles.num_users}}</th>
|
||||
@@ -239,5 +216,28 @@
|
||||
{{/unless}}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-stats">
|
||||
<table class="table table-condensed table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">{{top_referrers.title}} ({{i18n admin.dashboard.reports.last_30_days}})</th>
|
||||
<th>{{top_referrers.ytitles.num_visits}}</th>
|
||||
<th>{{top_referrers.ytitles.num_topics}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{#unless loading}}
|
||||
{{#each top_referrers.data}}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">{{#linkTo adminUser username}}{{username}}{{/linkTo}}</td>
|
||||
<td class="value">{{num_visits}}</td>
|
||||
<td class="value">{{num_topics}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{{/each}}
|
||||
{{/unless}}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class='clearfix'></div>
|
||||
|
||||
Reference in New Issue
Block a user