diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-16 13:45:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-16 13:45:56 +0000 |
commit | 005f4baaa4efa0dec6d8fe7ca213f414857bb968 (patch) | |
tree | caf029f9ba510e3f88d057ddb79e7fb405dd287e | |
parent | 2b0142580f9c5e0b9dc54d1e338e355b235bb844 (diff) | |
download | redmine-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.rhtml | 4 |
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 %>
<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 |