# 70 Tab title rest

* adds tab titles for some other pages
* adds/updates translations
This commit is contained in:
2022-01-20 12:31:20 +01:00
parent 7a8cafcd77
commit 79b9be5637
5 changed files with 25 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ from konova.contexts import BaseContext
from konova.decorators import any_group_check
from konova.forms import RemoveModalForm
from konova.models import Deadline
from konova.sub_settings.context_settings import TAB_TITLE_IDENTIFIER
from news.models import ServerMessage
from konova.settings import SSO_SERVER_BASE
@@ -92,6 +93,7 @@ def home_view(request: HttpRequest):
"user_compensation_count": user_comps.count(),
"total_eco_count": eco_accs.count(),
"user_eco_count": user_ecco_accs.count(),
TAB_TITLE_IDENTIFIER: _("Home"),
}
context = BaseContext(request, additional_context).context
return render(request, template, context)