Fix #1668 (upload of books with language set to different than UI language and not showing all books)

Fix for only showing external port if kobo is really activated in admin menu
This commit is contained in:
Ozzieisaacs
2020-11-07 11:44:02 +01:00
parent 0771546dad
commit 400f6e02a5
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -131,8 +131,9 @@ def admin():
allUser = ub.session.query(ub.User).all()
email_settings = config.get_mail_settings()
kobo_support = feature_support['kobo'] and config.config_kobo_sync
return render_title_template("admin.html", allUser=allUser, email=email_settings, config=config, commit=commit,
feature_support=feature_support,
feature_support=feature_support, kobo_support=kobo_support,
title=_(u"Admin page"), page="admin")