OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
<%= render Primer::OpenProject::PageHeader.new do |header| %>
<% header.with_title do %>
<%= "#{t(:label_revision)} #{helpers.format_revision(@changeset)}" %>
<% end %>
<% header.with_breadcrumbs([{
href: project_overview_path(@project.id),
text: @project.name
},
{
href: url_for({ action: "show", project_id: @project.id }),
text: t(
"repositories.named_repository",
vendor_name: @repository.class.vendor_name
)
},
{
href: revisions_project_repository_path(@project),
text: t(:label_revision_plural)
},
"#{t(:label_revision)} #{helpers.format_revision(@changeset)}"
]) %>
<%# Previous Revision Button %>
<% header.with_action_button(
tag: previous_button_tag,
icon: "arrow-left",
label: t(:label_previous),
mobile_icon: "arrow-left",
mobile_label: t(:label_previous),
href: previous_button_url,
disabled: previous_button_disabled?,
title: previous_button_title,
aria: { label: t(:label_previous) }
) do |button|
button.with_leading_visual_icon(icon: "arrow-left")
t(:label_previous)
end %>
<%# Next Revision Button %>
<% header.with_action_button(
tag: next_button_tag,
icon: "arrow-right",
label: t(:label_next),
mobile_icon: "arrow-right",
mobile_label: t(:label_next),
href: next_button_url,
disabled: next_button_disabled?,
title: next_button_title,
aria: { label: t(:label_next) }
) do |button|
button.with_leading_visual_icon(icon: "arrow-right")
t(:label_next)
end %>
<%# Revision Search Form Button (if needed) could go here too) %>
<% end %>