changeset 347:f039bb649d0c cannam-pre-20110113-merge

Merge
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 31 Mar 2011 15:21:43 +0100
parents 712264d5d60a (current diff) 361602c5e6bb (diff)
children a1e6dc0e204b 13147268cd65
files app/views/projects/show.rhtml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/projects/show.rhtml	Thu Mar 31 15:21:40 2011 +0100
+++ b/app/views/projects/show.rhtml	Thu Mar 31 15:21:43 2011 +0100
@@ -23,7 +23,8 @@
 	<% end %>
 	</ul>	
 
-  <% if User.current.allowed_to?(:view_issues, @project) %>
+  <% if User.current.allowed_to?(:view_issues, @project) and @open_issues_by_tracker.values.any? %>
+
   <div class="issues box">    
     <h3><%=l(:label_issue_tracking)%></h3>
     <ul>