Skip to content
Snippets Groups Projects
Commit 198b18b8 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'master' into '206-class-register-personal-notes-unusable-on-mobile-devices'

# Conflicts:
#   CHANGELOG.rst
parents a6f3af36 4f42ca7f
No related branches found
No related tags found
1 merge request!269Resolve "Class register / personal notes unusable on mobile devices"
Pipeline #54779 passed
...@@ -12,6 +12,7 @@ Unreleased ...@@ -12,6 +12,7 @@ Unreleased
Fixed Fixed
~~~~~ ~~~~~
* Status icon in single-lesson view showed 'Missing data' although the data were complete.
* The personal note tab of a lesson was not well usable on mobile devices. * The personal note tab of a lesson was not well usable on mobile devices.
`2.0` - 2022-02-06 `2.0` - 2022-02-06
......
...@@ -198,6 +198,8 @@ def register_object( ...@@ -198,6 +198,8 @@ def register_object(
# Create or get lesson documentation object; can be empty when first opening lesson # Create or get lesson documentation object; can be empty when first opening lesson
lesson_documentation = register_object.get_or_create_lesson_documentation(wanted_week) lesson_documentation = register_object.get_or_create_lesson_documentation(wanted_week)
context["has_documentation"] = bool(lesson_documentation.topic)
lesson_documentation_form = LessonDocumentationForm( lesson_documentation_form = LessonDocumentationForm(
request.POST or None, request.POST or None,
instance=lesson_documentation, instance=lesson_documentation,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment