Sha256: ccf8c7ba76a04e338bad87915897323918fc4b67652c8df65ebdd4c533bd2385

Contents?: true

Size: 890 Bytes

Versions: 13

Compression:

Stored size: 890 Bytes

Contents

<header>
  <div id="logo">
    <%= link_to image_tag("pages/admin/icon.png"), '/admin' %>
  </div>
  <div id="site-name">
    <h1>
      <%= link_to "Pages", "/admin" %> <%= PagesCore.config :site_name %>
    </h1>
  </div>
  <% if logged_in? %>
    <div class="user">
      Hello, <%= link_to(current_user.name, admin_user_url(current_user)) %>
      <%= link_separator %>
      <%= link_to("Log out", session_path, method: "delete") %>
    </div>
  <% end %>
  <div class="tabs">
    <% if logged_in? %>
      <%= header_tabs(:pages) %>
      <%= header_tabs(:pages_plugins) %>
      <%= header_tabs(:custom) %>
      <%= header_tabs(:account) %>
    <% end -%>
  </div>
</header>

<% if flash[:error] && false %>
  <div id="flash-error">
    <%= flash[:error] %>
  </div>
<% end %>

<% if flash[:notice] && false %>
  <div id="flash-notice">
    <%= flash[:notice] %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pages_core-3.11.3 app/views/layouts/admin/_header.html.erb
pages_core-3.11.2 app/views/layouts/admin/_header.html.erb
pages_core-3.11.1 app/views/layouts/admin/_header.html.erb
pages_core-3.11.0 app/views/layouts/admin/_header.html.erb
pages_core-3.10.2 app/views/layouts/admin/_header.html.erb
pages_core-3.10.1 app/views/layouts/admin/_header.html.erb
pages_core-3.9.2 app/views/layouts/admin/_header.html.erb
pages_core-3.9.1 app/views/layouts/admin/_header.html.erb
pages_core-3.9.0 app/views/layouts/admin/_header.html.erb
pages_core-3.8.3 app/views/layouts/admin/_header.html.erb
pages_core-3.8.2 app/views/layouts/admin/_header.html.erb
pages_core-3.8.1 app/views/layouts/admin/_header.html.erb
pages_core-3.8.0 app/views/layouts/admin/_header.html.erb