Sha256: 450d5ff4018702c77e612b632c5ad5f276b9d06b71a7a2e69d59b53ad30eb237

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

- if !current_user or !current_user.client
  = render_navigation(:level => :all, :expand_all => true, :renderer => :bootstrap)
- elsif client?
  = render_navigation(:level => 1, :context => 'client')

- if current_user
  %ul.nav.pull-right
    %li.dropdown
      %a{:href => '#', :class => 'dropdown-toggle', 'data-toggle' => 'dropdown'}
        = show_gravatar_for(current_user, 30)
        %span
          = current_user
        %b.caret
      = render_navigation(:level => 1, :context => 'secondary')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 app/views/shared/_menu.html.haml
xrono-1.0.3 app/views/shared/_menu.html.haml
xrono-1.0.2 app/views/shared/_menu.html.haml
xrono-1.0.1 app/views/shared/_menu.html.haml
xrono-1.0.0 app/views/shared/_menu.html.haml