Sha256: 7a604499caac3495e641b53d9b6be9d9bc1b128b2cc1616f3b0511fe9996e705

Contents?: true

Size: 805 Bytes

Versions: 64

Compression:

Stored size: 805 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <div class="Overlay-headerContentWrap">
    <div class="Overlay-titleWrap">
      <h1 id="<%= @id %>" class="Overlay-title <% if @visually_hide_title || content.present? %>sr-only<% end %>"><%= @title %></h1>
      <% if content.present? %>
        <%= content %>
      <% elsif @subtitle.present? %>
        <h2 class="Overlay-description"><%= @subtitle %></h2>
      <% else %>
        <%= subtitle %>
      <% end %>
    </div>
    <% if @overlay_id %>
      <div class="Overlay-actionWrap">
        <%= render Primer::Beta::CloseButton.new(classes: "Overlay-closeButton", "popovertarget": @overlay_id, "popovertargetaction": "hide", "data-close-dialog-id": @overlay_id) %>
      </div>
    <% end %>
  </div>
  <%= filter %>
<% end %>

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.52.2 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.36.4 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.52.1 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.52.0 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.36.3 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.51.0 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.36.2 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.50.1 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.50.0 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.36.1 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.36.0 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.49.2 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.35.2 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.49.1 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.49.0 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.35.1 app/components/primer/alpha/overlay/header.html.erb
primer_view_components-0.35.0 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.48.2 app/components/primer/alpha/overlay/header.html.erb
openproject-primer_view_components-0.48.1 app/components/primer/alpha/overlay/header.html.erb