Added Python 2.7 end of support banner.

This commit is contained in:
Louis Vézina 2019-11-07 23:44:17 -05:00
parent 1b1fef6f62
commit b3b84abed1
1 changed files with 6 additions and 0 deletions

View File

@ -227,6 +227,12 @@
% elif restart_required['configured'] == '1':
<div class='ui center aligned grid'><div class='fifteen wide column'><div class="ui red message">Bazarr Needs To Be Restarted To Apply Changes To General Settings. Click <a href=# id="restart_link">Here</a> To Restart.</div></div></div>
% end
% from six import PY2
% import datetime
% if PY2:
<div class='ui center aligned grid'><div class='fifteen wide column'><div class="ui yellow message">Bazarr is now compatible with Python 3.6 and earlier. You should upgrade Python as we'll drop support for Python 2.7.x by the end of 2019.</div></div></div>
% end
</div>
</body>
</html>