Use right sticky for version

pull/125/head
dgtlmoon 4 years ago
parent cd622261e9
commit 2f22d627fa

@ -60,7 +60,7 @@ def main(argv):
@app.context_processor @app.context_processor
def inject_version(): def inject_version():
return dict(version=datastore.data['version_tag'], return dict(right_sticky="v{}".format(datastore.data['version_tag']),
new_version_available=app.config['NEW_VERSION_AVAILABLE'], new_version_available=app.config['NEW_VERSION_AVAILABLE'],
has_password=datastore.data['settings']['application']['password'] != False has_password=datastore.data['settings']['application']['password'] != False
) )

Loading…
Cancel
Save