aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-07-29 00:07:07 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-07-29 00:07:07 +0200
commit4a0e5ac037dc3c8fd16ca086924087f8ccaed46b (patch)
tree40b19d8c2ee769f0ca719f4ac00e9868d20bdb99 /app/layout
parent1d73286aaa05e95669ffdf27538424a0c6504b8f (diff)
parent1739e2e9d2f6b46ee7de81322f282b4ef4f0dddd (diff)
Merge pull request #548 from aledeg/more-stats
Add article repartition in stats
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside_flux.phtml1
-rw-r--r--app/layout/aside_stats.phtml3
2 files changed, 4 insertions, 0 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml
index 7eebc569b..cc04e757c 100644
--- a/app/layout/aside_flux.phtml
+++ b/app/layout/aside_flux.phtml
@@ -77,6 +77,7 @@
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>
<li class="item"><a href="<?php echo _url ('index', 'index', 'get', 'f_!!!!!!'); ?>"><?php echo Minz_Translate::t ('filter'); ?></a></li>
+ <li class="item"><a href="<?php echo _url ('stats', 'repartition', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('stats'); ?></a></li>
<li class="item"><a target="_blank" href="http://example.net/"><?php echo Minz_Translate::t ('see_website'); ?></a></li>
<?php if ($this->loginOk) { ?>
<li class="separator"></li>
diff --git a/app/layout/aside_stats.phtml b/app/layout/aside_stats.phtml
index 32a3f5dee..fbfb9d84d 100644
--- a/app/layout/aside_stats.phtml
+++ b/app/layout/aside_stats.phtml
@@ -6,4 +6,7 @@
<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>
+ <li class="item<?php echo Minz_Request::actionName () == 'repartition' ? ' active' : ''; ?>">
+ <a href="<?php echo _url ('stats', 'repartition'); ?>"><?php echo Minz_Translate::t ('stats_repartition'); ?></a>
+ </li>
</ul>