aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/reader.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/index/reader.phtml')
-rw-r--r--app/views/index/reader.phtml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index c15b936ee..1485a1997 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -1,4 +1,5 @@
<?php
+$this->partial('aside_feed');
$this->partial('nav_menu');
flush();
@@ -11,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;