diff options
| author | 2014-06-13 01:00:27 -0400 | |
|---|---|---|
| committer | 2014-06-15 12:05:21 -0400 | |
| commit | 181fcd98893f65a2c5159158fbfc022b4661ea13 (patch) | |
| tree | 62769146e342a71e3f3f5b49232061a613e23f4c /app/layout/aside_stats.phtml | |
| parent | 09602acc5f754c3e814b4b7de9d9d4d283ed45ff (diff) | |
Refactor statistics
I made a new controller to handle statistics. The old statistics have been moved in that controller and a new action has been added to display idle feeds. I also added a menu in the left panel to navigate between the statistics pages.
See #90
Diffstat (limited to 'app/layout/aside_stats.phtml')
| -rw-r--r-- | app/layout/aside_stats.phtml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/layout/aside_stats.phtml b/app/layout/aside_stats.phtml new file mode 100644 index 000000000..bc1e85592 --- /dev/null +++ b/app/layout/aside_stats.phtml @@ -0,0 +1,9 @@ +<ul class="nav nav-list aside"> + <li class="nav-header"><?php echo Minz_Translate::t ('stats'); ?></li> + <li class="item<?php echo Minz_Request::actionName () == 'main' ? ' active' : ''; ?>"> + <a href="<?php echo _url ('stats', 'main'); ?>"><?php echo Minz_Translate::t ('stats_main'); ?></a> + </li> + <li class="item<?php echo Minz_Request::actionName () == 'idle' ? ' active' : ''; ?>"> + <a href="<?php echo _url ('stats', 'idle'); ?>"><?php echo Minz_Translate::t ('stats_idle'); ?></a> + </li> +</ul> |
