2012-01-30 09:56:38 +00:00
|
|
|
#sites-picker{ :style => 'display: none' }
|
|
|
|
%ul
|
|
|
|
- current_locomotive_account.sites.each do |site|
|
|
|
|
- unless current_site._id == site._id
|
|
|
|
%li
|
2012-02-05 23:54:09 +00:00
|
|
|
= link_to site.name, locomotive.pages_url(:host => site.full_subdomain, :port => request.port)
|
2012-01-30 09:56:38 +00:00
|
|
|
|
|
|
|
- if can?(:manage, Locomotive::Site)
|
|
|
|
%p.action
|
2012-02-05 23:54:09 +00:00
|
|
|
= link_to t('locomotive.sites_picker.new'), locomotive.new_site_url
|