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
This commit is contained in:
Jean-Philippe Lang 2006-12-16 13:45:56 +00:00
parent 2b0142580f
commit 005f4baaa4
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,9 @@
<% end %> <% end %>
<%= error_messages_for 'query' %> <%= error_messages_for 'query' %>
<% if @query.valid? %> <% if @query.valid? %>
<% if @issues.empty? %>
<p><i><%= l(:label_no_data) %></i></p>
<% else %>
&nbsp; &nbsp;
<table class="listTableContent"> <table class="listTableContent">
<tr> <tr>
@ -85,3 +88,4 @@
<%= submit_tag l(:button_move) %> <%= submit_tag l(:button_move) %>
<%= end_form_tag %> <%= end_form_tag %>
<% end %> <% end %>
<% end %>