Modified: branches/biocat/app/views/services/_breadcrumbs.rhtml (2357 => 2358)
--- branches/biocat/app/views/services/_breadcrumbs.rhtml 2010-03-30 11:56:53 UTC (rev 2357)
+++ branches/biocat/app/views/services/_breadcrumbs.rhtml 2010-03-30 22:02:23 UTC (rev 2358)
@@ -0,0 +1,19 @@
+<% unless controller.action_name.to_s == "index" %>
+ <li><%= link_to 'services', services_path %></li>
+<% end %>
+
+<% case controller.action_name.to_s; when "show" %>
+ <li><b>»</b></li>
+ <li><%= h(@contributable.label) %></li>
+<% when "search" %>
+ <li><b>»</b></li>
+ <li>Search Results</li>
+<% when "all" %>
+ <li><b>»</b></li>
+ <li>All services</li>
+<% when "index" %>
+ <li>Services</li>
+<% else %>
+ <!-- no breadcrumb -->
+<% end %>
+