Skip to content

Commit

Permalink
Changed year and bumped version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsigaras committed Feb 3, 2021
1 parent 2a2c8a9 commit d09b715
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/api/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '1.0.0'
version = '1.2.0'

def api_version():
return version
1 change: 1 addition & 0 deletions src/static/assets/stork.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const baseApiUrl = 'api'
let token = getCookie('stork-auth');
checkTokenAndRedirectIfEmpty();

document.getElementById('year').innerHTML = new Date().getFullYear();
setInterval(function(){
checkTokenAndRedirectIfEmpty();
}, 5000);
Expand Down
4 changes: 2 additions & 2 deletions src/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<div class="push"></div>
</div>
<footer>
<div>Copyright © 2019 Englander Institute for Precision Medicine</div>
<div>Stork Version 1.0.0</div>
<div>Copyright © <span id="year"></span> Englander Institute for Precision Medicine</div>
<div>Stork Version 1.2.0</div>
<img alt="logo" class="footer-logo" src="assets/LOGO_ENGLANDER_2LINE_RGB.png">
</footer>

Expand Down
4 changes: 2 additions & 2 deletions src/static/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ <h5 class="login-title">Log in</h5>
</div>
</div>
<footer>
<div>Copyright © 2019 Englander Institute for Precision Medicine</div>
<div>Stork Version 1.0.0</div>
<div>Copyright © <span id="year"></span> Englander Institute for Precision Medicine</div>
<div>Stork Version 1.2.0</div>
<img alt="logo" class="footer-logo" src="assets/LOGO_ENGLANDER_2LINE_RGB.png">
</footer>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js"></script>
Expand Down

0 comments on commit d09b715

Please sign in to comment.