Sha256: 95ddbd683186c65405360798bbf36605e48b98e45424e0123397d26233bd11e6

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

<% if display_site_bar? %>
  <% 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] || local_assigns[:exclude_css] %>
  <% end -%>
  <div id='site_bar'>
    <div id='site_bar_content' class='clearfix'>

      <div id='editor_switch'>
        <%= site_bar_switch_link -%>
        <%= site_bar_edit_link -%>
      </div>

      <%= link_to 'http://refinerycms.com', :id => 'site_bar_refinery_cms_logo', :target => '_blank' do %>
        <span>Refinery CMS™</span>
      <% end %>

      <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::Core.refinery_logout_path,
                    :id => 'logout' if ::Refinery::Core.refinery_logout_path.present? %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-core-3.0.4 app/views/refinery/_site_bar.html.erb
refinerycms-core-3.0.3 app/views/refinery/_site_bar.html.erb
refinerycms-core-3.0.2 app/views/refinery/_site_bar.html.erb
refinerycms-core-3.0.1 app/views/refinery/_site_bar.html.erb
refinerycms-core-3.0.0 app/views/refinery/_site_bar.html.erb