Switch admin navigation glyphs to FontAwesome

This commit is contained in:
James Mason 2014-08-15 18:28:14 -07:00
parent ebe9780059
commit ba1aed3c54
3 changed files with 25 additions and 25 deletions

View file

@ -1,29 +1,29 @@
%ul.nav.nav-pills.nav-stacked.mySidebar
.btn-group
%button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.glyphicon.glyphicon-home
%span.fa.fa-home
All Conferences
%span.caret
%ul.dropdown-menu{role: 'menu'}
%li
= link_to(admin_conference_index_path) do
%span.glyphicon.glyphicon-home
%span.fa.fa-home
All Conferences
- @conferences.each do |conference|
- if can? :show, conference
%li
= link_to(admin_conference_path(conference.short_title)) do
%span.glyphicon.glyphicon-cog
%span.fa.fa-cog
Manage
= conference.short_title
- if (current_user.is_admin) || (current_user.has_role? :organizer, :any)
%li
= link_to(new_admin_conference_path) do
%span.glyphicon.glyphicon-plus
%span.fa.fa-plus
New Conference
- if can? :index, User
%hr
%li
= link_to(admin_users_path) do
%span.glyphicon.glyphicon-user
%span.fa.fa-user
Users