summaryrefslogtreecommitdiff
path: root/amber/layouts/_sidebar.html.haml
blob: 87a00f95c8f87e51b342ef219f93c514cd00222b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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
-#
-# .sidebar-addendum
-#   = link(t(:support_riseup) => 'donate', :class => 'btn btn-block btn-default')