Commit c3b1727d5080c708e1428a1511539fc002e602ec

Authored by Antonio Terceiro
1 parent 09b7db7e

Moving navigation links to the theme entirely

app/views/layouts/application-ng.rhtml
... ... @@ -93,10 +93,6 @@
93 93 </h1>
94 94 <div id="navigation">
95 95 <ul>
96   - <li><%= link_to '<span class="icon-menu-people">' + _('People') + '</span>',
97   - '/assets/people', :id=>'people' %></li>
98   - <li><%= link_to '<span class="icon-menu-community">' + _('Communities') + '</span>',
99   - '/assets/communities', :id=>'communities' %></li>
100 96 <%= theme_extra_navigation %>
101 97 </ul>
102 98 <div id="navigation-end"></div>
... ...
public/designs/themes/base/navigation.rhtml
  1 +<li><a href="/assets/people"><span class='icon-menu-people'><%= _('People') %></span></a></li>
  2 +<li><a href="/assets/communities"><span class='icon-menu-community'><%= _('Communities') %></span></a></li>
1 3 <li><a href="/assets/enterprises"><span class='icon-menu-enterprise'><%= _('Enterprises') %></span></a></li>
2 4 <li><a href="/assets/products"><span class='icon-menu-product'><%= _('Products') %></span></a></li>
3 5 <li><a href="/assets/events"><span class='icon-menu-events'><%= _('Events') %></span></a></li>
... ...