mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-27 10:51:15 +00:00
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
This commit is contained in:
parent
03f059e3ba
commit
269ba694b5
@ -41,6 +41,7 @@
|
||||
<% if User.current.allowed_to?(:view_issues, @project) %>
|
||||
<div class="issues box">
|
||||
<h3><%=l(:label_issue_tracking)%></h3>
|
||||
<% if @trackers.present? %>
|
||||
<table class="list issue-report">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -69,6 +70,7 @@
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% end %>
|
||||
<p>
|
||||
<%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %>
|
||||
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user