diff options
Diffstat (limited to 'amber/layouts/_sidebar.html.haml')
-rw-r--r-- | amber/layouts/_sidebar.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/amber/layouts/_sidebar.html.haml b/amber/layouts/_sidebar.html.haml new file mode 100644 index 0000000..87a00f9 --- /dev/null +++ b/amber/layouts/_sidebar.html.haml @@ -0,0 +1,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') |