summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-05-31 11:24:42 -0400
committerGravatar GitHub <noreply@github.com> 2021-05-31 17:24:42 +0200
commit4823e6df11dc27757f7d05a5e778044287747a24 (patch)
tree6d886a180f2ad3d5b8addf670875e2d567ef8a02 /app
parent54e0a6e5535863dc6fc4b1f6f3543bbf905974b1 (diff)
Change links to add feeds (#3650)
Before, the links was redirecting to the subscription management page which was the default behavior before changes introduced in 1.17.0 (#3027). All links were modified except the one for empty content. Now, the empty content links are redirecting to the proper page. See #3642
Diffstat (limited to 'app')
-rw-r--r--app/views/index/normal.phtml2
-rw-r--r--app/views/index/reader.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index ba941066e..3077d79f2 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -116,7 +116,7 @@ $today = @strtotime('today');
?>
<div id="stream" class="prompt alert alert-warn normal">
<h2><?= _t('index.feed.empty') ?></h2>
- <a href="<?= _url('subscription', 'index') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+ <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
</div>
<?php endif; ?>
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index 9febbb52f..0b1288ae6 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -82,6 +82,6 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
?>
<div id="stream" class="prompt alert alert-warn reader">
<h2><?= _t('index.feed.empty') ?></h2>
- <a href="<?= _url('subscription', 'index') ?>"><?= _t('index.feed.add') ?></a><br /><br />
+ <a href="<?= _url('subscription', 'add') ?>"><?= _t('index.feed.add') ?></a><br /><br />
</div>
<?php endif; ?>