From 71bc1e616a5f0707bcce3cd8ffa2a79b9b72d753 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 31 Mar 2016 09:49:09 +0100 Subject: [PATCH] Fix logic around team on navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the navigation you should see either: - manage team - view team members This depends on which permissions you have. You shouldn’t see both at once. There was a bug which meant you could see both. This commit fixes that bug. https://www.pivotaltracker.com/story/show/116608291 --- app/templates/main_nav.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/templates/main_nav.html b/app/templates/main_nav.html index 6f94fb518..5cff65c33 100644 --- a/app/templates/main_nav.html +++ b/app/templates/main_nav.html @@ -23,8 +23,7 @@
  • Manage team
  • Manage settings
  • - {% endif %} - {% if current_user.has_permissions(['view_activity']) %} + {% elif current_user.has_permissions(['view_activity']) %}