2010-07-28 00:42:33 +00:00
|
|
|
%h1
|
2011-07-05 16:30:12 +00:00
|
|
|
= link_to current_site.name, admin_pages_url, :class => 'single'
|
2010-07-28 00:42:33 +00:00
|
|
|
|
2011-07-25 21:16:43 +00:00
|
|
|
= render_cell 'admin/global_actions', :show, :current_admin => current_admin, :current_site_url => current_site_url
|
2011-07-05 16:30:12 +00:00
|
|
|
|
|
|
|
- if multi_sites? && current_admin.sites.size > 1
|
|
|
|
#sites-picker{ :style => 'display: none' }
|
|
|
|
%ul
|
|
|
|
- current_admin.sites.each do |site|
|
|
|
|
- unless current_site._id == site._id
|
|
|
|
%li
|
|
|
|
= link_to site.name, new_admin_cross_domain_session_url(:target_id => site._id)
|
|
|
|
|
|
|
|
- if can?(:manage, Site)
|
|
|
|
%p.action
|
|
|
|
= link_to t('admin.sites_picker.new'), new_admin_site_url
|