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
update page header in roadmap
Behrokh Satarnejad6988b015c499
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erbindex 8a7c9d84ff4..d80e65189e2 100644--- a/app/views/versions/index.html.erb+++ b/app/views/versions/index.html.erb@@ -27,17 +27,24 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%= toolbar title: t(:label_roadmap) do %>- <li class="toolbar-item">- <%= link_to_if_authorized({ controller: '/versions', action: 'new', project_id: @project },- { class: 'button -primary',- aria: { label: t(:label_version_new) },- title: t(:label_version_new) }) do %>- <%= op_icon('button--icon icon-add') %>- <span class="button--text"><%= t('activerecord.models.version') %></span>- <% end %>- </li>-<% end %>+<%=+ render Primer::OpenProject::PageHeader.new do |header|+ header.with_title { t(:label_roadmap) }+ header.with_breadcrumbs( [{ href: project_overview_path(@project.id), text: @project.name },+ t(:label_roadmap)+ ])+ header.with_action_button(scheme: :primary,+ mobile_icon: :plus,+ mobile_label: t(:label_version_new),+ aria: { label: t(:label_version_new) },+ title: t(:label_version_new),+ tag: :a,+ href: url_for({ controller: '/versions', action: 'new', project_id: @project })) do |button|+ button.with_leading_visual_icon(icon: :plus)+ t('activerecord.models.version')+ end+ end+%><% if @versions.empty? %><%= no_results_box %>