Project

General

Profile

Actions

Feature #2631

closed

Add breadcrumbs to news pages

Added by Brad Beattie about 15 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
News
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Index: app/views/news/show.rhtml
===================================================================
--- app/views/news/show.rhtml    (revision 2338)
+++ app/views/news/show.rhtml    (working copy)
@@ -1,3 +1,5 @@
+<%= breadcrumb link_to(l(:label_news_plural), {:controller => 'news', :action => 'index', :project_id => @project}) %>
+
 <div class="contextual">
 <%= link_to_if_authorized l(:button_edit), 
                           {:controller => 'news', :action => 'edit', :id => @news},

Files

2631.patch (947 Bytes) 2631.patch Go MAEDA, 2023-05-06 01:27
Actions

Also available in: Atom PDF