Sha256: 75ff49e6e3599b8b700f3766d9870296311a96ab9a22d1e8b5d238eeab596561

Contents?: true

Size: 1.07 KB

Versions: 23

Compression:

Stored size: 1.07 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', site_bar_translate_locale_args),
                    destroy_user_session_path, :id => 'logout' %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
refinerycms-core-1.0.11 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.10 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.9 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.8 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.7 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.5 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.4 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.3 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.1 app/views/shared/_site_bar.html.erb
refinerycms-core-1.0.0 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.22 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.21 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.20 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.19 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.18 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.17 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.16 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.15 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.14 app/views/shared/_site_bar.html.erb
refinerycms-core-0.9.9.13 app/views/shared/_site_bar.html.erb