Skip to content

Commit

Permalink
134 add link to privacy policy document (#138)
Browse files Browse the repository at this point in the history
* add urls to policies

* update footer

* changelog
  • Loading branch information
longshuicy authored May 16, 2024
1 parent 709c6ec commit deb9c0d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- YouTube Authorization flow[#122](https://github.com/ncsa/standalone-smm-smile/issues/122)
- YouTube basic keyword/hashtag search[#126](https://github.com/ncsa/standalone-smm-smile/issues/126)
- Policies and footer year update[#134](https://github.com/ncsa/standalone-smm-smile/issues/134)

## [0.3.2] - 2024-01-23
### Added
Expand Down
2 changes: 2 additions & 0 deletions www/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ SHARE_EXPIRE_IN = process.env.SHARE_EXPIRE_IN ? process.env.SHARE_EXPIRE_IN : 1;
CLOWDER_BASE_URL= process.env.CLOWDER_BASE_URL || "http://clowder.localhost/";
BUCKET_NAME = process.env.BUCKET_NAME ? process.env.BUCKET_NAME: 'macroscope-smile';
SMILE_GRAPHQL_URL = process.env.SMILE_GRAPHQL_URL ? process.env.SMILE_GRAPHQL_URL: "http://localhost:5050/graphql";
PRIVACY_POLICY_URL = process.env.PRIVACY_POLICY_URL ? process.env.PRIVACY_POLICY_URL: "https://www.vpaa.uillinois.edu/resources/web_privacy";
TERM_OF_USE_URL = process.env.TERM_OF_USE_URL ? process.env.TERM_OF_USE_URL: "https://www.vpaa.uillinois.edu/resources/terms_of_use";
email = true;

/**
Expand Down
3 changes: 1 addition & 2 deletions www/views/components/footer.pug
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//Footer
footer(class="footer-bs")
div(class="row")
p © 2023 National Center for Supercomputing Applications, University of Illinois at Urbana-Champaign, All rights reserved
p © #{new Date().getFullYear()} National Center for Supercomputing Applications, University of Illinois at Urbana-Champaign, All rights reserved
13 changes: 12 additions & 1 deletion www/views/components/topbar.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@ nav(class="navbar navbar-inverse navbar-fixed-top")
img(src="bootstrap/img/logo/smile-logos/small-logo.png", width=20)
| &nbsp SMILE
li
a(href="citation") Cite
div(class="topbar-dropdown", id="topbar-policy")
button(type="button", id="policy-btn", class="btn btn-default topbar-dropdown-toggle",
data-toggle="dropdown", aria-haspopup="true", aria-expanded="true")
| Policies  
span(class="caret")
ul(class="dropdown-menu", aria-labelledby="dropdownMenu1")
li
a(href=TERM_OF_USE_URL target="_blank") Terms of Use
li
a(href=PRIVACY_POLICY_URL target="_blank") Privacy Policy
li
a(href="citation") Cite Us
li
a(href="mailto:[email protected]") Report Problems

Expand Down

0 comments on commit deb9c0d

Please sign in to comment.