Sha256: 30cfe855d3e120c024631051f80122349c67886ded512778f9bbc8359bac8fee

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 Bytes

Contents

- if user_signed_in?
  %p.controls
    = t(:signed_in_as, :name => current_user.full_name).html_safe
    = link_to t(:preferences), droom.edit_user_url(current_user), :data => {:action => "popup"}
    - if current_person
      = link_to t(:profile), droom.edit_person_url(current_person), :data => {:action => "popup", :affected => ".people_list"}
    = link_to t(:help_pages), "/help"
    = link_to t(:sign_out), Droom.sign_out_path, :method => :delete
    - if admin?
      = link_to t(:hide_admin), '#', :data => {:action => 'toggle', :affected => '.admin, a.menu, .action'}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/shared/_controls.html.haml
droom-0.4.2 app/views/droom/shared/_controls.html.haml
droom-0.4.1 app/views/droom/shared/_controls.html.haml
droom-0.2.1 app/views/droom/shared/_controls.html.haml