-
Notifications
You must be signed in to change notification settings - Fork 35
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 UI to add and view Privacy policy and terms of use #2122
Comments
@NNN Would you be interested? If yes, please estimate |
At least we should give the alert that the only supported file extensions are htm or html. But I think the best option is to do both: alert for wrong file format and a help text (info icon) |
@bajiat added the mentioned modifications in the wireframes. |
As discussed with @Nazarah @brylie, I will start off with simple solution, which inlcludes two area fields for user to paste correspoding text. As an enhancement we can add a richtext editor. We decided not to go with file upload. File upload here will lead us to new collections just for these files, iframes or others not the pretties ways to render documents, and other unnecessary long work to make it happen. |
User story
Definition of done
Wireframe
In Setting -> Branding page, there is a new panel for adding Privacy Policy and Terms of Use panel.
The panel comes before Colors pane and after site slogan field. (adding these is more important than changing color, so this pane should appear on top)
The panel includes two file uploaders, one for Privacy Policy and one for Terms of Use.
A help icon displays the text when clicked: "You can upload Privacy Policy and Terms of Use information as htm or html files. After uploading the file(s), related link(s) will appear on the site footer."
HTML files can be uploaded here that defines Privacy Policy and Terms of Use for the site
Attempting to upload a file with unsupported extension would prevent the upload. An alert text (made with CSS alert class) would be shown below related file uploader button
On adding privacy policy and terms of use files, links to see them appear in front page footer
Terms of Use link also appears on the registration page.
When no file is uploaded, these links will not appear.
On clicking any of these links, user will be redirected to the related page on the site.
(e.g. https://apinf.org/privacy_policy or https://apinf.org/terms_of_use)
The text was updated successfully, but these errors were encountered: