Skip to content

Commit c390fc1

Browse files
Merge pull request #315 from topcoder-platform/dev
Prod release of the footer date issue
2 parents cb5a44b + 3f18d6a commit c390fc1

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

web-assets/static-pages/check_email.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,16 @@ <h2 id="page-subtitle-heading" class="page-subtitle-heading">
8484
</div>
8585
<footer class="footer">
8686
<div class="copyright-text">
87-
<strong>&copy;</strong> 2021 Topcoder. All Rights Reserved
8887
</div>
8988
<a class="privacy-policy" href="https://www.topcoder.com/privacy-policy/">Privacy Policy</a>
9089
</footer>
9190
</div>
91+
<script>
92+
document.addEventListener("DOMContentLoaded", function(){
93+
var copyRightText = document.getElementsByClassName("copyright-text");
94+
copyRightText[0].innerHTML = "<strong>&copy;</strong> " + new Date().getFullYear() + " Topcoder. All Rights Reserved"
95+
});
96+
</script>
9297
</body>
9398

9499
</html>

web-assets/static-pages/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ <h1 id="page-title-heading" class="page-title-heading">loading...</h1>
4242
</div>
4343
<footer class="footer">
4444
<div class="copyright-text">
45-
<strong>&copy;</strong> 2021 Topcoder. All Rights Reserved
4645
</div>
4746
<a
4847
class="privacy-policy"
@@ -58,5 +57,11 @@ <h1 id="page-title-heading" class="page-title-heading">loading...</h1>
5857
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="4.0.0";
5958
}}();
6059
</script>
60+
<script>
61+
document.addEventListener("DOMContentLoaded", function(){
62+
var copyRightText = document.getElementsByClassName("copyright-text");
63+
copyRightText[0].innerHTML = "<strong>&copy;</strong> " + new Date().getFullYear() + " Topcoder. All Rights Reserved"
64+
});
65+
</script>
6166
</body>
6267
</html>

web-assets/static-pages/register_success.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ <h1 id="page-title-heading" class="page-title-heading">
4949
</div>
5050
<footer class="footer">
5151
<div class="copyright-text">
52-
<strong>&copy;</strong> 2021 Topcoder. All Rights Reserved
5352
</div>
5453
<a
5554
class="privacy-policy"
@@ -58,5 +57,11 @@ <h1 id="page-title-heading" class="page-title-heading">
5857
>
5958
</footer>
6059
</div>
60+
<script>
61+
document.addEventListener("DOMContentLoaded", function(){
62+
var copyRightText = document.getElementsByClassName("copyright-text");
63+
copyRightText[0].innerHTML = "<strong>&copy;</strong> " + new Date().getFullYear() + " Topcoder. All Rights Reserved"
64+
});
65+
</script>
6166
</body>
6267
</html>

0 commit comments

Comments
 (0)