Skip to content

Commit e8007e0

Browse files
committed
Merge branch 'hotfix/update-copyright-year' into hotfix/21.3.4
2 parents f800b26 + e020197 commit e8007e0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/main/resources/messages.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ cas.login.resources.osf.donate=Donate
516516
#
517517
# Footer
518518
#
519-
copyright.cos=<span style="white-space: nowrap">Copyright &copy; 2011 &ndash; 2021</span>&#160;\
519+
copyright.cos=<span style="white-space: nowrap">Copyright &copy; 2011 &ndash; {0}</span>&#160;\
520520
<a style="white-space: nowrap" href="https://cos.io">Center for Open Science</a> &#124;&#160;\
521521
<a style="white-space: nowrap" href="https://github.com/CenterForOpenScience/centerforopenscience.org/blob/master/TERMS_OF_USE.md">Terms of Use</a>&#160;&#124;&#160;\
522522
<a style="white-space: nowrap" href="https://github.com/CenterForOpenScience/centerforopenscience.org/blob/master/PRIVACY_POLICY.md">Privacy Policy</a>&#160;&#124;&#160;\
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
<footer class="py-4 d-flex justify-content-center cas-footer cas-footer-osf">
2-
<span id="copyright" th:utext="#{copyright.cos}" class="mr-2 d-inline-block copyright"></span>
2+
<span id="copyright-2"
3+
th:with="year=${#dates.year(#dates.createNow())}"
4+
th:utext="#{copyright.cos(${year.toString()})}"
5+
class="mr-2 d-inline-block copyright">
6+
</span>
37
</footer>

0 commit comments

Comments
 (0)