From d480b9edbc88584df637d318430174de2e694d21 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Wed, 11 Jan 2017 19:22:41 +0200 Subject: [PATCH] [fix bug 1330305] Do not show an empty "achievement" section. --- remo/profiles/templates/profiles_view.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remo/profiles/templates/profiles_view.jinja b/remo/profiles/templates/profiles_view.jinja index bc236af7b..247d6e5ef 100644 --- a/remo/profiles/templates/profiles_view.jinja +++ b/remo/profiles/templates/profiles_view.jinja @@ -212,7 +212,7 @@ Mozilla Reps - Profile of {{ user_profile.display_name }}
- {% if usergroups or featured_rep.count() or user_is_mentor(request_user) %} + {% if usergroups or featured_rep.count() or (user_is_mentor(request_user) and is_nomination_period) %}