diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index af5ff03fe..652def98a 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -38,6 +38,9 @@ if (!empty($this->entries)) { ?> <div id="stream" class="normal<?php echo $hidePosts ? ' hide_posts' : ''; ?>"><?php + ?><div id="new-article"> + <a href="./"><?php echo Minz_Translate::t ('new_article'); ?></a> + </div><?php foreach ($this->entries as $item) { if ($display_today && $item->isDay (FreshRSS_Days::TODAY, $this->today)) { ?><div class="day" id="day_today"><?php @@ -62,14 +65,6 @@ if (!empty($this->entries)) { ?></div><?php $display_others = false; } - - if ($this->entries[0]->id () === $item->id ()) { - ?><div id="new-article"> - <a href="<?php echo _url(); ?>"><?php - echo Minz_Translate::t ('new_article'); - ?></a></div><?php - } - ?><div class="flux<?php echo !$item->isRead () ? ' not_read' : ''; ?><?php echo $item->isFavorite () ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id (); ?>"> <ul class="horizontal-list flux_header"><?php if ($this->loginOk) { |
