2010-07-28 00:42:33 +00:00
|
|
|
%h1
|
|
|
|
- if current_admin.sites.size > 1
|
2010-07-28 10:17:56 +00:00
|
|
|
= form_tag new_admin_cross_domain_session_url, :method => 'get' do
|
2010-09-28 22:08:11 +00:00
|
|
|
= 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'
|
2010-07-28 10:17:56 +00:00
|
|
|
= submit_tag 'Switch', :style => 'display: none'
|
2010-07-28 00:42:33 +00:00
|
|
|
- else
|
2011-01-11 11:42:12 +00:00
|
|
|
= link_to current_site.name, admin_pages_url, :class => 'single'
|
2010-07-28 00:42:33 +00:00
|
|
|
|
2010-04-24 00:32:36 +00:00
|
|
|
#global-actions-bar
|
2010-07-21 23:56:42 +00:00
|
|
|
!= t('.welcome', :name => link_to(current_admin.name, edit_admin_my_account_url))
|
2010-04-24 00:32:36 +00:00
|
|
|
%span= '|'
|
2010-05-10 22:39:52 +00:00
|
|
|
= link_to t('.see'), main_site_url
|
2010-04-24 00:32:36 +00:00
|
|
|
%span= '|'
|
2010-06-10 22:07:59 +00:00
|
|
|
= link_to t('.logout'), destroy_admin_session_url, :confirm => t('admin.messages.confirm')
|