diff --git a/evap/evaluation/models.py b/evap/evaluation/models.py index f735aae77f..b032bc4aa6 100644 --- a/evap/evaluation/models.py +++ b/evap/evaluation/models.py @@ -1842,7 +1842,7 @@ def is_responsible_or_contributor_or_delegate(self): @cached_property def show_startpage_button(self): - return [self.is_student, self.is_responsible_or_contributor_or_delegate, self.is_grade_publisher].count( + return [self.is_participant, self.is_responsible_or_contributor_or_delegate, self.is_grade_publisher].count( True ) > 1 diff --git a/evap/evaluation/views.py b/evap/evaluation/views.py index d99ceaff99..1e38cf6c6e 100644 --- a/evap/evaluation/views.py +++ b/evap/evaluation/views.py @@ -31,7 +31,7 @@ def redirect_user_to_start_page(user): return redirect("staff:semester_view", active_semester.id) return redirect("staff:index") - if user.startpage == UserProfile.StartPage.STUDENT and user.is_student: + if user.startpage == UserProfile.StartPage.STUDENT and user.is_participant: return redirect("student:index") if user.startpage == UserProfile.StartPage.CONTRIBUTOR and user.is_responsible_or_contributor_or_delegate: return redirect("contributor:index")