mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Switch header navigation glyphs to FontAwesome
This commit is contained in:
parent
ba1aed3c54
commit
d50ac96c6b
2 changed files with 9 additions and 9 deletions
|
|
@ -29,16 +29,16 @@
|
|||
- if current_page?(new_registration_path('user'))
|
||||
%li.active
|
||||
= link_to(new_registration_path('user')) do
|
||||
%span.glyphicon.glyphicon-heart
|
||||
%span.fa.fa-heart
|
||||
Sign Up
|
||||
- else
|
||||
%li
|
||||
= link_to(new_registration_path('user')) do
|
||||
%span.glyphicon.glyphicon-heart
|
||||
%span.fa.fa-heart
|
||||
Sign Up
|
||||
%li.dropdown.visible-desktop
|
||||
%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
|
||||
%span.glyphicon.glyphicon-user
|
||||
%span.fa.fa-user
|
||||
Sign In
|
||||
%span.caret
|
||||
.dropdown-menu{:style => "padding: 17px;"}
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
%li
|
||||
= link_to(edit_user_registration_path) do
|
||||
%span.glyphicon.glyphicon-wrench
|
||||
%span.fa.fa-wrench
|
||||
Edit Account
|
||||
-if @conference and @conference.id
|
||||
%li
|
||||
= link_to(conference_proposal_index_path(@conference.short_title)) do
|
||||
%span.glyphicon.glyphicon-comment
|
||||
%span.fa.fa-comment
|
||||
My Submissions
|
||||
%li
|
||||
= link_to(destroy_user_session_path, :method=>'delete') do
|
||||
%span.glyphicon.glyphicon-minus
|
||||
%span.fa.fa-minus
|
||||
Sign out
|
||||
- if can? :index, Conference
|
||||
%li.divider
|
||||
%li
|
||||
= link_to(admin_conference_index_path()) do
|
||||
- if Conference.any?
|
||||
%span.glyphicon.glyphicon-home
|
||||
%span.fa.fa-home
|
||||
Administration
|
||||
- else
|
||||
%span.glyphicon.glyphicon-plus
|
||||
%span.fa.fa-plus
|
||||
Create Conference
|
||||
-if @conference and @conference.id and 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue