diff --git a/Web/app.py b/Web/app.py index c3a2d61..a354423 100755 --- a/Web/app.py +++ b/Web/app.py @@ -3203,6 +3203,8 @@ def home_admin(): flash('Ihnen ist es nicht gestattet auf dieser Internetanwendung, die eben besuchte Adrrese zu nutzen, versuchen sie es erneut nach dem sie sich mit einem berechtigten Nutzer angemeldet haben!', 'error') return redirect(url_for('library_view')) + filter_names = it.get_filter_names() + return render_template( 'main_admin.html', username=session['username'], @@ -3212,6 +3214,7 @@ def home_admin(): student_default_borrow_days=cfg.STUDENT_DEFAULT_BORROW_DAYS, student_max_borrow_days=cfg.STUDENT_MAX_BORROW_DAYS, school_info=_get_school_info_for_export(), + filter_names=filter_names, open_item=request.args.get('open_item') ) diff --git a/Web/modules/database/items.py b/Web/modules/database/items.py index 2185d28..28b8aaf 100755 --- a/Web/modules/database/items.py +++ b/Web/modules/database/items.py @@ -911,7 +911,7 @@ def get_filter_names(): if names_doc and 'names' in names_doc: return names_doc['names'] return { - '1': 'Klasse', + '1': 'Klassenstufe', '2': 'Fach', '3': 'Schlagwort' } diff --git a/Web/templates/admin_school_settings.html b/Web/templates/admin_school_settings.html index 4c4d08d..2fc10b3 100644 --- a/Web/templates/admin_school_settings.html +++ b/Web/templates/admin_school_settings.html @@ -78,15 +78,15 @@