diff options
| author | 2014-09-29 18:26:28 -0400 | |
|---|---|---|
| committer | 2014-09-29 18:26:28 -0400 | |
| commit | 3d288eb170091c2679cac34ee09e850b56e46861 (patch) | |
| tree | 253af2747ee7c73f915fbc3b4d4dfd6be4fee442 /app/views/stats | |
| parent | c14162221365077bcaeecde7127806190490dd58 (diff) | |
Add percent of total on top 10 feeds
Diffstat (limited to 'app/views/stats')
| -rw-r--r-- | app/views/stats/index.phtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml index 412e77e16..31185fbe3 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> |
