summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-22 13:17:49 +0000
commit827e998afef3a3b6eded98c9b3af1023e54fccb5 (patch)
treeec61e0b48f850b620454f95904781aeb1b0c4845 /app/views/boards
parent43f583d33243b825ef493d2bebb200660835af48 (diff)
downloadredmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.tar.gz
redmine-827e998afef3a3b6eded98c9b3af1023e54fccb5.zip
Application layout refactored.
The project menu is now the main menu. git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/show.rhtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/boards/show.rhtml b/app/views/boards/show.rhtml
index c31ec67e9..cdb9e772d 100644
--- a/app/views/boards/show.rhtml
+++ b/app/views/boards/show.rhtml
@@ -5,6 +5,7 @@
<h2><%=h @board.name %></h2>
+<% if @topics.any? %>
<table class="list">
<thead><tr>
<th><%= l(:field_subject) %></th>
@@ -32,6 +33,8 @@
<% end %>
</tbody>
</table>
-
<p><%= pagination_links_full @topic_pages %>
[ <%= @topic_pages.current.first_item %> - <%= @topic_pages.current.last_item %> / <%= @topic_count %> ]</p>
+<% else %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% end %>