Sha256: 02b31a68ab5249d75c08cba7f5e63da40d0810be79fe91a5852d37c46ac46d68

Contents?: true

Size: 716 Bytes

Versions: 10

Compression:

Stored size: 716 Bytes

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='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

10 entries across 10 versions & 1 rubygems

Version Path
moxify-0.1.9.1 app/views/shared/_site_bar.html.erb
moxify-0.1.9 app/views/shared/_site_bar.html.erb
moxify-0.1.8 app/views/shared/_site_bar.html.erb
moxify-0.1.7.4 app/views/shared/_site_bar.html.erb
moxify-0.1.7.3 app/views/shared/_site_bar.html.erb
moxify-0.1.7.2 app/views/shared/_site_bar.html.erb
moxify-0.1.7.1 app/views/shared/_site_bar.html.erb
moxify-0.1.7 app/views/shared/_site_bar.html.erb
moxify-0.1.5 app/views/shared/_site_bar.html.erb
moxify-0.1.3 app/views/shared/_site_bar.html.erb