aboutsummaryrefslogtreecommitdiff
path: root/app/views/stats/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/stats/index.phtml')
-rw-r--r--app/views/stats/index.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml
index 37803f2f9..fa57a77c0 100644
--- a/app/views/stats/index.phtml
+++ b/app/views/stats/index.phtml
@@ -48,6 +48,7 @@
<th><?php echo _t ('feed'); ?></th>
<th><?php echo _t ('category'); ?></th>
<th><?php echo _t ('stats_entry_count'); ?></th>
+ <th><?php echo _t ('stats_percent_of_total'); ?></th>
</tr>
</thead>
<tbody>
@@ -56,6 +57,7 @@
<td><a href="<?php echo _url('stats', 'repartition', 'id', $feed['id']); ?>"><?php echo $feed['name']; ?></a></td>
<td><?php echo $feed['category']; ?></td>
<td class="numeric"><?php echo formatNumber($feed['count']); ?></td>
+ <td class="numeric"><?php echo formatNumber($feed['count'] / $this->repartition['all_feeds']['total'] * 100, 1);?></td>
</tr>
<?php endforeach;?>
</tbody>