summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-16 13:45:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-16 13:45:56 +0000
commit005f4baaa4efa0dec6d8fe7ca213f414857bb968 (patch)
treecaf029f9ba510e3f88d057ddb79e7fb405dd287e
parent2b0142580f9c5e0b9dc54d1e338e355b235bb844 (diff)
downloadredmine-005f4baaa4efa0dec6d8fe7ca213f414857bb968.tar.gz
redmine-005f4baaa4efa0dec6d8fe7ca213f414857bb968.zip
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
-rw-r--r--app/views/projects/list_issues.rhtml4
1 files changed, 4 insertions, 0 deletions
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? %>
+<p><i><%= l(:label_no_data) %></i></p>
+<% else %>
&nbsp;
<table class="listTableContent">
<tr>
@@ -84,4 +87,5 @@
</p>
<%= submit_tag l(:button_move) %>
<%= end_form_tag %>
+<% end %>
<% end %> \ No newline at end of file