]> source.dussan.org Git - redmine.git/commitdiff
issues table is no more displayed if there is no issue to display
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Dec 2006 13:45:56 +0000 (13:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Dec 2006 13:45:56 +0000 (13:45 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@96 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/list_issues.rhtml

index 4a49a18b3d69a24564e68353c1912aef744ed6f6..5f0d0282a29391ee8c3c18740aacfd47506f3edc 100644 (file)
@@ -34,6 +34,9 @@
 <% end %>\r
 <%= error_messages_for 'query' %>\r
 <% if @query.valid? %>\r
+<% if @issues.empty? %>\r
+<p><i><%= l(:label_no_data) %></i></p>\r
+<% else %>\r
 &nbsp;\r
 <table class="listTableContent">\r
     <tr>\r
@@ -84,4 +87,5 @@
 </p>\r
 <%= submit_tag l(:button_move) %>\r
 <%= end_form_tag %>\r
+<% end %>\r
 <% end %>
\ No newline at end of file