diff options
| author | 2014-03-14 06:15:52 -0400 | |
|---|---|---|
| committer | 2014-03-14 06:15:52 -0400 | |
| commit | f31747ee7bdaebf02e7e58d51c27102e0c7c9ef1 (patch) | |
| tree | 74d9338a7ce4f067c6ee46aa3bdce012db7d1bed /app/views/helpers/view/normal_view.phtml | |
| parent | 8320154f6c4896567a679d7905fbc6cc8e30ac5a (diff) | |
Refresh page after getting new articles.
Change the URL to the refresh link. Before it was redirecting to the home page.
Now it is redirecting to the same page, which make more sense.
See #457
Diffstat (limited to 'app/views/helpers/view/normal_view.phtml')
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index 9fd06ebae..b0f90b4c9 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -28,7 +28,7 @@ if (!empty($this->entries)) { <div id="stream" class="normal<?php echo $hidePosts ? ' hide_posts' : ''; ?>"><?php ?><div id="new-article"> - <a href="<?php echo _url('index', 'index'); ?>"><?php echo Minz_Translate::t ('new_article'); ?></a> + <a href="<?php echo Minz_Url::display ($this->url); ?>"><?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)) { |
