Sha256: d3cb3b95862435e89a11b86a70f450f628e600f3c75f8ba2daa35e33126c0f75

Contents?: true

Size: 840 Bytes

Versions: 7

Compression:

Stored size: 840 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), destroy_user_session_path, method: :delete)
      = render "/layouts/jumpbox"
    - else
      = link_to(t(:login), new_user_session_path) << " |"
      = link_to(t(:sign_up), new_user_registration_path) << " |" if User.can_signup?
      = link_to(t(:about), "#", title: t(:about_ffc), onclick: "$('#about').dialog({ title: this.title, modal: true }); return false;")
  %h3
    = link_to("Fat Free CRM", root_path)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/layouts/_header.html.haml
fat_free_crm-0.22.0 app/views/layouts/_header.html.haml
fat_free_crm-0.21.0 app/views/layouts/_header.html.haml
fat_free_crm-0.20.1 app/views/layouts/_header.html.haml
fat_free_crm-0.20.0 app/views/layouts/_header.html.haml
fat_free_crm-0.19.2 app/views/layouts/_header.html.haml
fat_free_crm-0.19.0 app/views/layouts/_header.html.haml