Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOS in footer #5222

Merged
merged 2 commits into from Mar 26, 2023
Merged

TOS in footer #5222

merged 2 commits into from Mar 26, 2023

Conversation

math-GH
Copy link
Contributor

@math-GH math-GH commented Mar 21, 2023

Ref #5189
Follow up of #5215

Changes proposed in this pull request:

Add the link to the Terms of Service to:

  1. Login screen
    grafik

  2. Registration form
    grafik

  3. add the "about FreshRSS" link to the TOS page to keep the sites consistent and having a <footer>
    grafik

How to test the feature manually:

  1. create data/tos.html
  2. see the screens

Pull request checklist:

  • clear commit messages
  • code manually tested

@math-GH math-GH added this to the 1.22.0 milestone Mar 21, 2023
@@ -27,3 +27,9 @@
<h1><?= _t('index.tos.title')?></h1>
<?= $this->terms_of_service ?>
</main>

<?php if (!FreshRSS_Auth::hasAccess()) { ?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably fine, but why the special case here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the user is not logged in then he/she has no navigation to switch to the about page from the TOS.

If the user is logged in, then he/she will find the TOS in the configs section, that has a navigation menu on the left hand side, where the About page is linked to. In the logged-in state the page does not have a footer.

@Alkarex Alkarex merged commit 59c1405 into FreshRSS:edge Mar 26, 2023
1 check passed
@math-GH math-GH deleted the TOS-in-footer branch March 26, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants