diff options
| author | 2018-12-17 17:38:26 -0500 | |
|---|---|---|
| committer | 2018-12-17 23:38:26 +0100 | |
| commit | 1b26a873db5a892deadb24b129f248b57d2ca5e7 (patch) | |
| tree | 71373cca13248f330afba7eb32b6883d904a2b51 | |
| parent | 0e69b279722342b4284017789f639665012dd888 (diff) | |
Add New Article banner to reader mode (#2188)
| -rw-r--r-- | app/views/index/reader.phtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml index 2f03331b7..1485a1997 100644 --- a/app/views/index/reader.phtml +++ b/app/views/index/reader.phtml @@ -12,8 +12,11 @@ if (!empty($this->entries)) { $content_width = FreshRSS_Context::$user_conf->content_width; ?> -<div id="stream" class="reader"><?php - foreach ($this->entries as $item) { +<div id="stream" class="reader"> + <div id="new-article"> + <a href="<?php echo Minz_Url::display(Minz_Request::currentRequest()); ?>"><?php echo _t('gen.js.new_article'); /* TODO: move string in JS*/ ?></a> + </div> + <?php foreach ($this->entries as $item) { $item = Minz_ExtensionManager::callHook('entry_before_display', $item); if (is_null($item)) { continue; |
