##// END OF EJS Templates
Don't display table headers if there's no trackers (#20413)....
Jean-Philippe Lang -
r14416:269ba694b586
parent child
Show More
@@ -41,6 +41,7
41 <% if User.current.allowed_to?(:view_issues, @project) %>
41 <% if User.current.allowed_to?(:view_issues, @project) %>
42 <div class="issues box">
42 <div class="issues box">
43 <h3><%=l(:label_issue_tracking)%></h3>
43 <h3><%=l(:label_issue_tracking)%></h3>
44 <% if @trackers.present? %>
44 <table class="list issue-report">
45 <table class="list issue-report">
45 <thead>
46 <thead>
46 <tr>
47 <tr>
@@ -69,6 +70,7
69 <% end %>
70 <% end %>
70 </tbody>
71 </tbody>
71 </table>
72 </table>
73 <% end %>
72 <p>
74 <p>
73 <%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %>
75 <%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %>
74 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
76 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
General Comments 0
You need to be logged in to leave comments. Login now