Add notice for users with Python 2.7.8 or below to update to latest Python

This commit is contained in:
Adam 2015-11-29 12:34:39 +08:00
parent 69b390503b
commit 6fb3c03a9c
2 changed files with 9 additions and 0 deletions

View file

@ -80,6 +80,7 @@
* Change to move JS code out of home template and into dedicated file
* Change to remove branch from window title
* Change to move JS code out of inc_top template and into dedicated file
* Add notice for users with Python 2.7.8 or below to update to latest Python
[develop changelog]
Enable Alpha Ratio again now that the secure login page over https is fixed

View file

@ -210,6 +210,14 @@
#end if
##
#if sys.version_info < (2, 7, 9):
<div class="alert alert-danger upgrade-notification" role="alert">
<span>
SickGear will be dropping support for Python 2.7.8 and below. We recommend updating to latest version:
<a href="https://www.python.org/downloads/" onclick="window.open(this.href); return false;">Download here</a>
</span>
</div>
#end if
#if $sickbeard.NEWEST_VERSION_STRING
<div class="alert alert-success upgrade-notification" role="alert">
<span>$sickbeard.NEWEST_VERSION_STRING</span>