Sha256: b0b5a14e13c10253cbda7c70f881133ce9665441d2032e177d614c7d3d7288de

Contents?: true

Size: 1.88 KB

Versions: 14

Compression:

Stored size: 1.88 KB

Contents

.navbar.navbar-fixed-top
  .navbar-inner
    .container
      .brand Artful.ly
      %ul.nav
        %li{ :class => "dropdown #{active?(:events)}" }
          = nav_dropdown "Sell"
          %ul.dropdown-menu
            %li= link_to "Events", events_path
            %li= link_to "Memberships", membership_types_path

        %li{ :class => "dropdown #{active?(:people)}" }
          = nav_dropdown "People"
          %ul.dropdown-menu
            %li= link_to "New Contact", new_person_path
            %li= link_to "Members", "#"
            %li= link_to "Search", people_path
            %li= link_to "Advanced Search", new_search_path
            %li= link_to "List Segments", segments_path
            %li= link_to "Import", new_import_path(:type => :people)
            %li= link_to "Export", imports_path

        %li{ :class => "dropdown #{active?(:reports)}" }
          = nav_dropdown "Reports"
          %ul.dropdown-menu
            %li= link_to "Statements", statements_path
            %li= link_to "Discounts", discounts_reports_path
            %li= link_to "Imports / Exports", imports_path

        %li{ :class => "dropdown #{active?(:transactions)}"}
          = nav_dropdown "Orders"
          %ul.dropdown-menu
            %li= link_to "Tickets", sales_orders_path
            %li= link_to "Donations", contributions_path
            %li= link_to "Memberships", "#"
            %li= link_to "Search All", orders_path

        %li.divider-vertical
        %li.dropdown
          = gravatar_image_tag(current_user.email, :alt => 'User icon', :class => 'nav-grav', :gravatar => { :size => 32 })
        %li.dropdown
          = nav_dropdown current_user.email
          %ul.dropdown-menu
            -if current_user.is_in_organization? 
              %li= link_to "Account Administration", organization_path(current_user.current_organization)
            %li= link_to "Sign Out", destroy_user_session_path

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.19 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.18 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.17 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.16 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.15 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.12 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.11 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.10 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.9 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.8 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.7 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.6 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.5 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.4 app/views/layouts/_menu.html.haml