-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add an optional "terms of service". Off of optional config point. #89
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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!
@@ -41,8 +42,13 @@ <h1> | |||
<button id="switch">Switch</button> | |||
</li> | |||
</ul> | |||
</nav> | |||
</header> | |||
<% if (typeof tosUrl !== 'undefined' && tosUrl) { %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering, what's the && tosUrl
for, when it's already not undefined
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! It should probably be
if (typeof tosUrl === 'string' && tosUrl.trim().length > 1)
Sorry to answer only now, but wouldn't it be better to place this link in a footer rather than in this menu? |
Makes sense, yeah. |
Optional "Terms of Service" button:
As an example, pointing to remotestorage.io's ToS, but can be changed for each deployment.