diff options
author | elijah <elijah@riseup.net> | 2015-02-18 23:44:14 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-02-18 23:44:14 -0800 |
commit | e53e113dcde3e3686095c3661307efccc5c7e64e (patch) | |
tree | 2d5219d73587750ec478811c65499325a95a04db /amber/layouts/_sidebar.html.haml |
initial conversation from leap_doc and leap_website
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') |