Sha256: af5dc977e35500feda67c31f2b838f8e2d1a20c78e32878d525c91ba062f7dcc

Contents?: true

Size: 1.8 KB

Versions: 4

Compression:

Stored size: 1.8 KB

Contents

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

        %li{ :class => "dropdown #{active?(:people)}" }
          = nav_dropdown "People"
          %ul.dropdown-menu
            %li= link_to "New Contact", new_person_path
            %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 "Transactions"
          %ul.dropdown-menu
            %li= link_to "Sales", sales_orders_path
            %li= link_to "Donations", contributions_path
            %li= link_to "Search", 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

4 entries across 4 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.3 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.2 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre.1 app/views/layouts/_menu.html.haml
artfully_ose-1.2.0.pre app/views/layouts/_menu.html.haml