Sha256: e5c1438afb2a57fbabb567f5fc8c643006f9217924604f4b96f6152ae55fc1e9
Contents?: true
Size: 1015 Bytes
Versions: 1
Compression:
Stored size: 1015 Bytes
Contents
<%= render Primer::BaseComponent.new(**@system_arguments) do %> <% if @parent_link || breadcrumbs || actions.any? %> <div class="PageHeader-contextBar"> <%= @parent_link %> <%= breadcrumbs %> <% if render_mobile_menu? %> <%= render(@mobile_action_menu) do |menu| %> <% menu.with_show_button(icon: :"kebab-horizontal", size: :small, "aria-label": @mobile_menu_label) %> <% @desktop_menu_block.call(menu) unless @desktop_menu_block.nil? %> <% end %> <% elsif actions.length == 1 && @mobile_action.present? %> <%= render(@mobile_action) { |el| @mobile_action_block.call(el) unless @mobile_action_block.nil?} %> <% 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.29.1 | app/components/primer/open_project/page_header.html.erb |