From 269ba694b58664a4d2a88caba3a082c74c16ec25 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Nov 2015 08:07:02 +0000 Subject: [PATCH] Don't display table headers if there's no trackers (#20413). git-svn-id: http://svn.redmine.org/redmine/trunk@14798 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 82b43bc24..33f423ca5 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -41,6 +41,7 @@ <% if User.current.allowed_to?(:view_issues, @project) %>

<%=l(:label_issue_tracking)%>

+ <% if @trackers.present? %> @@ -69,6 +70,7 @@ <% end %>
+ <% end %>

<%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %> <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>