summaryrefslogtreecommitdiffstats
path: root/app/views/messages
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-27 18:41:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-27 18:41:42 +0000
commitb9e380c9febe08a0332e785299f6dcc495463a3e (patch)
tree74cfb2a039f2f73503748b11981efa859c77e332 /app/views/messages
parent89602004098de22c59e668ad814969f5f12cd80b (diff)
downloadredmine-b9e380c9febe08a0332e785299f6dcc495463a3e.tar.gz
redmine-b9e380c9febe08a0332e785299f6dcc495463a3e.zip
Add breadcrumb nav for the forums (#892).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1299 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages')
-rw-r--r--app/views/messages/show.rhtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml
index 632f603ff..ef7db71ef 100644
--- a/app/views/messages/show.rhtml
+++ b/app/views/messages/show.rhtml
@@ -1,9 +1,12 @@
+<%= breadcrumb link_to(l(:label_board_plural), {:controller => 'boards', :action => 'index', :project_id => @project}),
+ link_to(h(@board.name), {:controller => 'boards', :action => 'show', :project_id => @project, :id => @board}) %>
+
<div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:action => 'edit', :id => @topic}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:action => 'destroy', :id => @topic}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
</div>
-<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%=h @topic.subject %></h2>
+<h2><%=h @topic.subject %></h2>
<div class="message">
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>