diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-07 08:07:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-07 08:07:02 +0000 |
commit | 269ba694b58664a4d2a88caba3a082c74c16ec25 (patch) | |
tree | 03474c4c013e57456176c0b62cb15809d8ab359d /app/views/projects | |
parent | 03f059e3ba9836bb67eed749cefe441506ca6397 (diff) | |
download | redmine-269ba694b58664a4d2a88caba3a082c74c16ec25.tar.gz redmine-269ba694b58664a4d2a88caba3a082c74c16ec25.zip |
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
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/show.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
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) %> <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) %> |