diff --git a/CHANGELOG.md b/CHANGELOG.md index c08a8a5c..812621c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/www/app.js b/www/app.js index d894c264..1ef7600c 100644 --- a/www/app.js +++ b/www/app.js @@ -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; /** diff --git a/www/views/components/footer.pug b/www/views/components/footer.pug index 431f4d13..964177f6 100644 --- a/www/views/components/footer.pug +++ b/www/views/components/footer.pug @@ -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 diff --git a/www/views/components/topbar.pug b/www/views/components/topbar.pug index bcb18166..ffb8636e 100644 --- a/www/views/components/topbar.pug +++ b/www/views/components/topbar.pug @@ -15,7 +15,18 @@ nav(class="navbar navbar-inverse navbar-fixed-top") img(src="bootstrap/img/logo/smile-logos/small-logo.png", width=20) |   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:smm@lists.illinois.edu") Report Problems