Skip to content

Add an optional "terms of service". Off of optional config point.#89

Open
JakubNer wants to merge 1 commit into
remotestorage:masterfrom
overhide:terms_of_service
Open

Add an optional "terms of service". Off of optional config point.#89
JakubNer wants to merge 1 commit into
remotestorage:masterfrom
overhide:terms_of_service

Conversation

@JakubNer

Copy link
Copy Markdown
Contributor

Optional "Terms of Service" button:

image

As an example, pointing to remotestorage.io's ToS, but can be changed for each deployment.

@raucao
raucao requested a review from bencharp March 20, 2022 00:32

@DougReeder DougReeder left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread lib/views/layout.html
</ul>
</nav>
</header>
<% if (typeof tosUrl !== 'undefined' && tosUrl) { %>

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Contributor

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)

@bencharp

Copy link
Copy Markdown
Member

Sorry to answer only now, but wouldn't it be better to place this link in a footer rather than in this menu?

@raucao

raucao commented Aug 18, 2022

Copy link
Copy Markdown
Member

Makes sense, yeah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants