diff options
| author | 2018-02-19 09:36:18 -0500 | |
|---|---|---|
| committer | 2018-02-19 15:36:18 +0100 | |
| commit | 0936a6cdb2005e325d3be98e42897eb7a42541c7 (patch) | |
| tree | 328bac3a24a60c75e82428ea06f46a1df4799b5a /app/views/index/normal.phtml | |
| parent | c79b8fb46e25cd513799224b83cb93282c3a8e26 (diff) | |
Option to hide nav_entries (#1764)
* put nav_entries in a div so they can be hidden, add config option, no labels yet
* add English text for hide_nav_entries, choose better name
* Update conf.php
add comma to last item
* hide nav_entries by optionally not rendering in normal.phtml
* fix logic, remove containing div
* apply phpcbf to ConfigurationSetter.php
* Make navigation buttons options positive
And add TODOs for i18n, and add default config.
Diffstat (limited to 'app/views/index/normal.phtml')
| -rw-r--r-- | app/views/index/normal.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index ba48b2501..c7cab2d3f 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -83,7 +83,7 @@ if (!empty($this->entries)) { $this->renderHelper('pagination'); ?></div> -<?php $this->partial('nav_entries'); ?> +<?php if (FreshRSS_Context::$user_conf->show_nav_buttons) $this->partial('nav_entries'); ?> <?php } else { ?> <div id="stream" class="prompt alert alert-warn normal"> |
