diff options
author | elijah <elijah@riseup.net> | 2014-07-21 02:17:06 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-07-21 02:17:06 -0700 |
commit | 780e7f0d882a22503f9ce7caab0a2e969e8529e6 (patch) | |
tree | ba1f36532a7e6f471dc1007728da210bf5919cfc /amber/layouts/_sidebar.html.haml | |
parent | a91bb680740c80eac5d19e61dc3c16e10b78b2c0 (diff) |
initial draft content
Diffstat (limited to 'amber/layouts/_sidebar.html.haml')
-rw-r--r-- | amber/layouts/_sidebar.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/amber/layouts/_sidebar.html.haml b/amber/layouts/_sidebar.html.haml new file mode 100644 index 0000000..f911131 --- /dev/null +++ b/amber/layouts/_sidebar.html.haml @@ -0,0 +1,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
\ No newline at end of file |