Skip to content
Snippets Groups Projects
Commit 375c2c97 authored by Todd Dembrey's avatar Todd Dembrey Committed by Fredrik Jonsson
Browse files

Hide the review name for applicants always

parent fd6e0836
No related branches found
No related tags found
No related merge requests found
...@@ -8,11 +8,7 @@ register = template.Library() ...@@ -8,11 +8,7 @@ register = template.Library()
@register.filter @register.filter
def display_author(activity, user): def display_author(activity, user):
if ( if user.is_applicant and isinstance(activity.related_object, Review):
user.is_applicant and
isinstance(activity.related_object, Review) and
not activity.user.is_apply_staff
):
return 'Reviewer' return 'Reviewer'
return activity.user return activity.user
......
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