-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import markdown | ||
|
||
from website.settings import \ | ||
PRIVACY_POLICY_PATH, PRIVACY_POLICY_GITHUB_LINK, \ | ||
TERMS_POLICY_PATH, TERMS_POLICY_GITHUB_LINK | ||
|
||
def privacy_policy(): | ||
with open(PRIVACY_POLICY_PATH, 'r') as policy_file: | ||
return { | ||
'policy_content': markdown.markdown(policy_file.read(), extensions=['toc']), | ||
'POLICY_GITHUB_LINK': PRIVACY_POLICY_GITHUB_LINK | ||
} | ||
|
||
def terms_policy(): | ||
with open(TERMS_POLICY_PATH, 'r') as policy_file: | ||
return { | ||
'policy_content': markdown.markdown(policy_file.read(), extensions=['toc']), | ||
'POLICY_GITHUB_LINK': TERMS_POLICY_GITHUB_LINK | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ | |
<%def name="content()"> | ||
<tr> | ||
<td style="border-collapse: collapse;"> | ||
Hi ${fullname},<br> | ||
Hi ${given_name},<br> | ||
<br> | ||
On August 10, 2020 the COS Websites and Services <a href="https://github.com/CenterForOpenScience/cos.io/blob/master/TERMS_OF_USE.md">Terms of Use</a> will change. The updates to the Terms are necessary to support continued use of the Websites and Services by the public.<br> | ||
To better understand what has changed, go <a href="https://github.com/CenterForOpenScience/cos.io/pull/1025/files">here</a>.<br> | ||
On Friday, January 10, 2025 the COS Websites and Services <a href="https://github.com/CenterForOpenScience/cos.io/blob/master/TERMS_OF_USE.md">Terms of Use</a> and <a href="https://github.com/CenterForOpenScience/cos.io/blob/master/PRIVACY_POLICY.md">Privacy Policy</a> will change. The updates to the Terms are necessary to support continued use of the Websites and Services by the public.<br> | ||
To better understand what has changed, see the <a href="https://github.com/CenterForOpenScience/cos.io/pull/1033/files">Terms of Use change summary</a> and <a href="https://github.com/CenterForOpenScience/cos.io/pull/1034/files">Privacy Policy change summary</a>.<br> | ||
<br> | ||
If you have any questions email [email protected].<br> | ||
You do not need to take any actions to acknowledge these updates. If you have any questions, please email [email protected].<br> | ||
<br> | ||
Regards,<br> | ||
<br> | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%inherit file="base.mako"/> | ||
|
||
<%def name="content()"> | ||
<div id="policy" class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<br> | ||
${policy_content} | ||
</div> | ||
<div class="col-md-12"> | ||
<br> | ||
Version history for this policy is available <a href='${POLICY_GITHUB_LINK}'>here</a> | ||
</div> | ||
</div> | ||
</div><!-- end container policy --> | ||
</%def> |