Sha256: 26f93514fb2b420b6644c7eb0c7aa9f3dcb3a90650c3bbf40e4f4f7af374ebc3

Contents?: true

Size: 741 Bytes

Versions: 64

Compression:

Stored size: 741 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <div class="Overlay-headerContentWrap">
    <div class="Overlay-titleWrap">
      <h1 class="Overlay-title <% if @visually_hide_title || content.present? %>sr-only<% end %>" id="<%= @id %>-title">
        <%= @title %>
      </h1>
      <% if content.present? %>
        <%= content %>
      <% elsif @subtitle.present? %>
        <h2 id="<%= @id %>-description" class="Overlay-description"><%= @subtitle %></h2>
      <% else %>
        <%= subtitle %>
      <% end %>
    </div>
    <div class="Overlay-actionWrap">
      <%= render Primer::Beta::CloseButton.new(classes: "Overlay-closeButton", "data-close-dialog-id": @id) %>
    </div>
  </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/dialog/header.html.erb
openproject-primer_view_components-0.52.2 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.36.4 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.52.1 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.52.0 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.36.3 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.51.0 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.36.2 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.50.1 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.50.0 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.36.1 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.36.0 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.49.2 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.35.2 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.49.1 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.49.0 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.35.1 app/components/primer/alpha/dialog/header.html.erb
primer_view_components-0.35.0 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.48.2 app/components/primer/alpha/dialog/header.html.erb
openproject-primer_view_components-0.48.1 app/components/primer/alpha/dialog/header.html.erb