equal
deleted
inserted
replaced
421 from soc.logic.models.review import logic as review_logic |
421 from soc.logic.models.review import logic as review_logic |
422 from soc.logic.models.review_follower import logic as review_follower_logic |
422 from soc.logic.models.review_follower import logic as review_follower_logic |
423 |
423 |
424 student_entity = entity.scope |
424 student_entity = entity.scope |
425 |
425 |
|
426 context['student'] = student_entity |
426 context['student_name'] = student_entity.name() |
427 context['student_name'] = student_entity.name() |
427 |
428 |
428 user_entity = user_logic.logic.getForCurrentAccount() |
429 user_entity = user_logic.logic.getForCurrentAccount() |
429 |
430 |
430 # check if the current user is the student |
431 # check if the current user is the student |
774 from soc.logic.models.review import logic as review_logic |
775 from soc.logic.models.review import logic as review_logic |
775 from soc.logic.models.review_follower import logic as review_follower_logic |
776 from soc.logic.models.review_follower import logic as review_follower_logic |
776 |
777 |
777 context = {} |
778 context = {} |
778 |
779 |
|
780 context['student'] = entity.scope |
779 context['student_name'] = entity.scope.name() |
781 context['student_name'] = entity.scope.name() |
780 |
782 |
781 if entity.mentor: |
783 if entity.mentor: |
782 context['mentor_name'] = entity.mentor.name() |
784 context['mentor_name'] = entity.mentor.name() |
783 else: |
785 else: |