Skip to content

Commit 7c65f64

Browse files
committed
Merge branch 'hotfix/21.3.4'
2 parents f800b26 + 6002041 commit 7c65f64

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.
44

5+
21.3.4 (01-10-2022)
6+
===================
7+
8+
Update copyright year automatically
9+
510
21.3.3 (12-20-2021)
611
===================
712

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)