Sha256: 79c93b37c4ef1da208a26d1704d94b0bb8e6851f78b6ea1f7570291fff91a4f1

Contents?: true

Size: 682 Bytes

Versions: 14

Compression:

Stored size: 682 Bytes

Contents

%h1
  - if current_admin.sites.size > 1
    = form_tag new_admin_cross_domain_session_url, :method => 'get' do
      = select_tag 'target_id', options_for_select(current_admin.sites.collect { |site| [truncate(site.name, :length => 32), site.id] }, current_site.id), :id => 'site-selector'
      = submit_tag 'Switch', :style => 'display: none'
  - else
    = link_to current_site.name, admin_root_url, :class => 'single'


#global-actions-bar
  != t('.welcome', :name => link_to(current_admin.name, edit_admin_my_account_url))
  %span= '|'
  = link_to t('.see'), main_site_url
  %span= '|'
  = link_to t('.logout'), destroy_admin_session_url, :confirm => t('admin.messages.confirm')

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta.2 app/views/admin/shared/_header.html.haml
locomotive_cms-1.0.0.beta app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta12 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta11 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta10 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta9 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta8 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta7 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta5 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta4 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta3 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta2 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4.beta1 app/views/admin/shared/_header.html.haml
locomotive_cms-0.0.4 app/views/admin/shared/_header.html.haml