Sha256: bd2c73c0d85c91c41335550ee6d018f35edb502c3b79f953f7905c2ffc1dc1c3

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

<% if refinery_user? %>
  <% unless admin? # all required JS included by backend. %>
    <% content_for :stylesheets, stylesheet_link_tag('refinery/site_bar') unless !!local_assigns[:exclude_css] %>
    <%= yield(:stylesheets) unless local_assigns[:head] or local_assigns[:exclude_css] %>
  <% 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'), destroy_user_session_path, :id => 'logout' %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
refinerycms-core-0.9.9.8 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.7 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.5 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.4 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.3 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.2 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.1 app/views/shared/_site_bar.html.erb
refinerycms-0.9.9 core/app/views/shared/_site_bar.html.erb