From 005f4baaa4efa0dec6d8fe7ca213f414857bb968 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 16 Dec 2006 13:45:56 +0000 Subject: [PATCH] issues table is no more displayed if there is no issue to display git-svn-id: http://redmine.rubyforge.org/svn/trunk@96 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/list_issues.rhtml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml index 4a49a18b3..5f0d0282a 100644 --- a/app/views/projects/list_issues.rhtml +++ b/app/views/projects/list_issues.rhtml @@ -34,6 +34,9 @@ <% end %> <%= error_messages_for 'query' %> <% if @query.valid? %> +<% if @issues.empty? %> +

<%= l(:label_no_data) %>

+<% else %>   @@ -84,4 +87,5 @@

<%= submit_tag l(:button_move) %> <%= end_form_tag %> +<% end %> <% end %> \ No newline at end of file