Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jooooosef committed Nov 18, 2024
1 parent 0f50b97 commit f8d80a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions evap/results/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,19 +213,16 @@ def evaluation_detail(request, semester_id, evaluation_id):
contributor_textanswers = False
contributor_personal = False

# allgemein user hat rolle reviewer
if view_as_user.is_reviewer:
general_textanswers = True
contributor_textanswers = True
# contributor_personal = False

if evaluation.is_user_contributor(view_as_user):
contributor_personal = True # nur ich selbst als contributor soll personal btn haben
contributor_personal = True
for user in represented_users:
if user in evaluation.course.responsibles.all():
general_textanswers = True
if evaluation.is_user_contributor(user):
# check if textanswer visiblity own oder general
if Contribution.objects.filter(
contributor=user,
evaluation=evaluation,
Expand Down

0 comments on commit f8d80a4

Please sign in to comment.