Merge pull request #155 from ChrisBr/dd_admin

Dropdown shows now context
This commit is contained in:
Christian Bruckmayer 2014-05-23 15:07:08 +02:00
commit e9e3dad431
2 changed files with 7 additions and 7 deletions

View file

@ -1,14 +1,14 @@
%ul.nav.nav-stacked.nav-pills.mySidebar
.btn-group
%button{type:'button', class:'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.glyphicon.glyphicon-home
Conferences
%span.glyphicon.glyphicon-cog
= @conference.short_title
%span.caret
%ul.dropdown-menu{role:'menu'}
%li
= link_to(admin_conference_index_path) do
%span.glyphicon.glyphicon-dashboard
All
%span.glyphicon.glyphicon-home
All Conferences
- @conferences.each do |conference|
%li
= link_to(admin_conference_path(conference.short_title)) do

View file

@ -2,13 +2,13 @@
.btn-group
%button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.glyphicon.glyphicon-home
Conferences
All Conferences
%span.caret
%ul.dropdown-menu{role: 'menu'}
%li
= link_to(admin_conference_index_path) do
%span.glyphicon.glyphicon-dashboard
All
%span.glyphicon.glyphicon-home
All Conferences
- @conferences.each do |conference|
%li
= link_to(admin_conference_path(conference.short_title)) do