Sha256: 74a406b19b6525dd04fb718880b453795280be47d29a944cb8a75aa60ab27bc5

Contents?: true

Size: 801 Bytes

Versions: 8

Compression:

Stored size: 801 Bytes

Contents

#header
  #welcome
    - if current_user
      #{t :welcome},
      -# This span gets updated on the fly if user changes her name.
      %span#welcome_username= current_user.name
      %span> !  

      = link_to(t(:quick_find), "#", :id => "jumper") << " |"
      = link_to(t(:profile), profile_path) << " |"
      - if current_user.admin?
        = link_to(t(:admin), admin_path) << " |"
      = link_to(t(:logout), logout_path, :method => :delete)
      = render "/layouts/jumpbox"
    - else
      = link_to(t(:login), login_path) << " |"
      = link_to(t(:sign_up), signup_path) << " |" if can_signup?
      = link_to(t(:about), "#", :title => t(:about_ffc), :onclick => "Modalbox.show($('about'), { title: this.title }); return false;")
  %h3
    = link_to("Fat Free CRM", root_path)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/layouts/_header.html.haml
fat_free_crm-0.12.3 app/views/layouts/_header.html.haml
fat_free_crm-0.12.2 app/views/layouts/_header.html.haml
fat_free_crm-0.13.1 app/views/layouts/_header.html.haml
fat_free_crm-0.12.1 app/views/layouts/_header.html.haml
fat_free_crm-0.13.0 app/views/layouts/_header.html.haml
fat_free_crm-0.12.0 app/views/layouts/_header.html.haml
fat_free_crm-0.11.4 app/views/layouts/_header.html.haml