From 269ba694b58664a4d2a88caba3a082c74c16ec25 2015-11-07 08:07:02 From: Jean-Philippe Lang Date: 2015-11-07 08:07:02 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 --- diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 82b43bc..33f423c 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) %>