diff options
| author | 2024-12-29 23:45:50 +0100 | |
|---|---|---|
| committer | 2024-12-29 23:45:50 +0100 | |
| commit | 27c2e2490af9075524e663ca01061a71abf99d2f (patch) | |
| tree | 6abda6b304034fedabf8a4cd317980c0838b3d71 /app/views/index | |
| parent | 05d9a5ddf8b8e4f557d812c071d1a3166ca029ea (diff) | |
templates and i18n: link back to rss feeds (#7162)
Diffstat (limited to 'app/views/index')
| -rw-r--r-- | app/views/index/about.phtml | 6 | ||||
| -rw-r--r-- | app/views/index/logs.phtml | 4 | ||||
| -rw-r--r-- | app/views/index/tos.phtml | 18 |
3 files changed, 0 insertions, 28 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml index 1c41cf4d6..8a633f7cc 100644 --- a/app/views/index/about.phtml +++ b/app/views/index/about.phtml @@ -6,12 +6,6 @@ } ?> <main class="post content<?= !FreshRSS_Auth::hasAccess() ? ' centered' : ''?>"> - <?php if (FreshRSS_Auth::hasAccess()) {?> - <div class="link-back-wrapper"> - <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> - </div> - <?php } ?> - <h1><?= _t('index.about') ?></h1> <p><?= _t('index.about.freshrss_description') ?></p> diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml index 60b593344..5e4812a3a 100644 --- a/app/views/index/logs.phtml +++ b/app/views/index/logs.phtml @@ -4,10 +4,6 @@ $this->partial('aside_configure'); ?> <main class="post"> - <div class="link-back-wrapper"> - <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> - </div> - <h1><?= _t('index.log') ?></h1> <?php diff --git a/app/views/index/tos.phtml b/app/views/index/tos.phtml index 6a2aa7ce8..a6ce7274a 100644 --- a/app/views/index/tos.phtml +++ b/app/views/index/tos.phtml @@ -6,24 +6,6 @@ } ?> <main class="post content<?= !FreshRSS_Auth::hasAccess() ? ' centered' : ''?>"> - <?php if (FreshRSS_Auth::hasAccess()) {?> - <div class="link-back-wrapper"> - <a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a> - </div> - <?php } elseif ($this->can_register) { ?> - <div class="link-back-wrapper"> - <a href="<?= _url('auth', 'register') ?>"> - <?= _t('gen.action.back') ?> - </a> - </div> - <?php } else { ?> - <div class="link-back-wrapper"> - <a href="<?= _url('index', 'index') ?>"> - <?= _t('gen.action.back') ?> - </a> - </div> - <?php } ?> - <h1><?= _t('index.tos.title')?></h1> <?= $this->terms_of_service ?> </main> |
