Sha256: 089475a82dac1ad4b49cefe1d2c90de8b53e72d5c84ff1574f50bd53cc0071c9

Contents?: true

Size: 1.11 KB

Versions: 11

Compression:

Stored size: 1.11 KB

Contents

<% if refinery_user? && "#{controller_name}##{action_name}" != 'pages#preview' %>
  <% 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'>
          <%= Refinery::Core.site_name %>
        </span>

        <%= link_to t('.log_out', site_bar_translate_locale_args),
                    refinery.destroy_refinery_user_session_path, :id => 'logout' %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-2.0.10 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.9 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.8 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.7 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.6 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.5 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.4 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.3 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.2 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.1 app/views/refinery/_site_bar.html.erb
refinerycms-core-2.0.0 app/views/refinery/_site_bar.html.erb