Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

_sidebar_nav.html.erb 1.5KB

    <div id="admin_navbar" data-spy="affix" data-offset-top="0px" class="span3" style="margin-top: 20px;"> <ul class="nav nav-tabs nav-stacked list-group "> <% if current_page?(:action => 'dashboard')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-tachometer fa-fw"></i> '+(t "admin_panel.dashboard")).html_safe, admin_dashboard_path %></li> <% if current_page?(:action => 'posts')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-file-text fa-fw"></i> '+(t "admin_panel.posts")).html_safe, admin_posts_path %></li> <% if current_page?(:action => 'files')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-file-image-o fa-fw"></i> '+(t "admin_panel.files")).html_safe, admin_files_path %></li> <% if current_page?(:action => 'contact_messages')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-envelope fa-fw"></i> '+(t "admin_panel.messages")).html_safe, admin_contact_messages_path %></li> <% if current_page?(:action => 'users')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-users fa-fw"></i> '+(t "admin_panel.users")).html_safe, admin_users_path %></li> <% if current_page?(:action => 'site_config')%><li class="active"> <% else %><li><% end %> <%= link_to ('<i class="fa fa-cog fa-fw"></i> '+(t "admin_panel.configurations")).html_safe, admin_config_path %></li> </ul> </div> <div class="span3"></div>