summaryrefslogtreecommitdiff
path: root/amber/layouts/_sidebar.html.haml
blob: f911131f8b84f8732f5edacdf1aead0fc0199f09 (plain)
1
2
3
4
5
6
7
8
9
10
#navigation
  %ul.nav.nav-pills.nav-stacked
    - navigation_items do |item|
      %li{:class => "#{item[:active]} level#{item[:level]}"}
        %a{:href => item[:href], :class => ''}= item[:label]

.sidebar-addendum
  .locale-links
    - available_languages.each do |name, code, url|
      %a.label{:href => url, :class => (I18n.locale == code ? 'label-primary' : '')}= name