Sha256: 529e890ae76bf6364c5b182cb623846cb28a1bd90930f1f2c625af052aa7c729

Contents?: true

Size: 876 Bytes

Versions: 1

Compression:

Stored size: 876 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <% if parent_link || breadcrumbs || context_bar_actions %>
    <div class="PageHeader-contextBar">
      <%= parent_link %>
      <%= breadcrumbs %>
      <% if context_bar_actions.any? %>
        <%= render Primer::BaseComponent.new(tag: :div, classes: 'PageHeader-contextBarActions', display: DEFAULT_CONTEXT_BAR_ACTIONS_DISPLAY, align_items: :center) do %>
          <% context_bar_actions.each do |action| %>
            <%= action %>
          <% end %>
        <% end %>
      <% end %>
    </div>
  <% end %>

  <div class="PageHeader-titleBar">
    <%= leading_action %>
    <%= title %>
    <% if actions.any? %>
      <div class="PageHeader-actions">
        <% actions.each do |action| %>
          <%= action %>
        <% end %>
      </div>
    <% end %>
  </div>

  <%= description %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.24.0 app/components/primer/open_project/page_header.html.erb