Commit af2d71f44fcdac230ab05a31f0619a47b9ff717b

Authored by AntonioTerceiro
1 parent 26bb1072

ActionItem70: adding a link to the home page



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@551 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
app/views/shared/categories_menu.rhtml
1 1 <ul>
  2 + <li>
  3 + <%= link_to Noosfero::PROJECT, :controller => 'home' %>
  4 + </li>
2 5 <% @environment.display_categories.each do |item| %>
3 6 <li id='category<%= item.display_color %>' <%= 'class="active"' if (@category && (@category.top_ancestor == item)) %> >
4   - <%= item.name %>
  7 + <%= (@category && (@category.top_ancestor == item)) ? @category.full_name : item.name %>
5 8 <ul>
6 9 <% item.children.each do |child| %>
7 10 <li><%= link_to(content_tag('span', child.name), :controller => 'category', :action => 'view', :path => child.explode_path) %></li>
... ...