Sha256: 64b1d7adf9b00f7a292df31d2090ad5c90d65ee69f43ffb98cf0aa4e3c81fa3a

Contents?: true

Size: 661 Bytes

Versions: 8

Compression:

Stored size: 661 Bytes

Contents

<header>
  <div class="logo">
    <%= link_to image_tag("pages/admin/icon.svg"), '/admin' %>
  </div>
  <div class="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_to("Log out", session_path, method: "delete") %>
    </div>
  <% end %>
  <nav class="tabs">
    <% if logged_in? %>
      <%= header_tabs(:pages) %>
      <%= header_tabs(:pages_plugins) %>
      <%= header_tabs(:custom) %>
      <%= header_tabs(:account) %>
    <% end -%>
  </nav>
</header>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pages_core-3.13.0 app/views/layouts/admin/_header.html.erb
pages_core-3.12.7 app/views/layouts/admin/_header.html.erb
pages_core-3.12.6 app/views/layouts/admin/_header.html.erb
pages_core-3.12.5 app/views/layouts/admin/_header.html.erb
pages_core-3.12.4 app/views/layouts/admin/_header.html.erb
pages_core-3.12.3 app/views/layouts/admin/_header.html.erb
pages_core-3.12.2 app/views/layouts/admin/_header.html.erb
pages_core-3.12.1 app/views/layouts/admin/_header.html.erb