Add an optional "terms of service". Off of optional config point.#89
Open
JakubNer wants to merge 1 commit into
Open
Add an optional "terms of service". Off of optional config point.#89JakubNer wants to merge 1 commit into
JakubNer wants to merge 1 commit into
Conversation
DougReeder
requested changes
May 21, 2022
DougReeder
left a comment
Contributor
There was a problem hiding this comment.
Let's add "terms_of_service_url": "" to conf.example.json, so new sysadmins know it's there.
Also, please rebase to the current master branch, and then I think it's good to go!
raucao
reviewed
Aug 16, 2022
| </ul> | ||
| </nav> | ||
| </header> | ||
| <% if (typeof tosUrl !== 'undefined' && tosUrl) { %> |
Member
There was a problem hiding this comment.
I'm wondering, what's the && tosUrl for, when it's already not undefined?
Contributor
There was a problem hiding this comment.
Good point! It should probably be
if (typeof tosUrl === 'string' && tosUrl.trim().length > 1)
Member
|
Sorry to answer only now, but wouldn't it be better to place this link in a footer rather than in this menu? |
Member
|
Makes sense, yeah. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Optional "Terms of Service" button:
As an example, pointing to remotestorage.io's ToS, but can be changed for each deployment.