diff options
| author | 2014-07-05 18:43:35 +0200 | |
|---|---|---|
| committer | 2014-07-05 18:43:35 +0200 | |
| commit | b48dc25963553e4596a5ca10a3c823e895fbfd92 (patch) | |
| tree | 22b0b33a0e121b7815633f3580831966da4b69fb /app/layout/aside_stats.phtml | |
| parent | 76b64a6907e825588a795a567e3c05c3cebcab76 (diff) | |
| parent | 450df54d81ff270be7cf53e9184dc17979c97582 (diff) | |
Merge pull request #516 from aledeg/stats
Refactor statistics
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..32a3f5dee --- /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 () == 'index' ? ' active' : ''; ?>"> + <a href="<?php echo _url ('stats', 'index'); ?>"><?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> |
