Sha256: 92595914a7dbf2a6e6fd8016c3adc09b5603fe6920c758a0921c834d2941a0a5
Contents?: true
Size: 1.46 KB
Versions: 9
Compression:
Stored size: 1.46 KB
Contents
<% if refinery_user? %> <% unless admin? # jquery scripts should already be cached when using the site bar as login has happened. %> <% content_for :site_bar_assets do %> <%= stylesheet_link_tag('refinery/site_bar') unless exclude_css ||= false %> <%= jquery_include_tags(:jquery_ui => false) unless exclude_jquery ||= false %> <%= javascript_include_tag('jquery/jquery.corner.js') unless exclude_cornering_library ||= false %> <%= javascript_include_tag('refinery/site_bar') unless exclude_site_bar_javascript ||= false %> <% end %> <% content_for :head, yield(:site_bar_assets) if (head ||= false) %> <%= yield(:site_bar_assets) unless head %> <% end -%> <div id='site_bar'> <div id='site_bar_content' class='clearfix'> <div id='editor_switch'> <%= site_bar_switch_link -%> </div> <%= link_to image_tag("#{"http://refinerycms.com/images/" unless local_request?}refinery/logo-site-bar.png", :alt => "Refinery (tm) Content Manager"), 'http://refinerycms.com', :target => '_blank', :id => 'site_bar_refinery_cms_logo' %> <div id='site_bar_branding'> <span id='site_bar_company_name'> <%= RefinerySetting.find_or_set(:site_name, 'Company Name') %> </span> <%= link_to t('.log_out'), logout_url(:only_path => true), :id => 'logout' %> </div> </div> </div> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems