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
change page header in budget page
Behrokh Satarnejad45656dbd5e70
diff --git a/modules/budgets/app/views/budgets/index.html.erb b/modules/budgets/app/views/budgets/index.html.erbindex bba83f52157..346f910c477 100644--- a/modules/budgets/app/views/budgets/index.html.erb+++ b/modules/budgets/app/views/budgets/index.html.erb@@ -26,18 +26,28 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title(t(:label_budget_plural)) %>-<%= toolbar title: t(:label_budget_plural) do %>- <% if authorize_for(:budgets, :new) %>- <li class="toolbar-item">- <a href="<%= new_projects_budget_path(@project) %>" aria-label="<%= I18n.t(:button_add_budget) %>" id="add-budget-button" title="<%= I18n.t(:button_add_budget) %>" class="button -primary">- <%= op_icon('button--icon icon-add') %>- <span class="button--text"><%= t(:label_budget) %></span>- </a>- </li>- <% end %>-<% end %>++<%=+ render(Primer::OpenProject::PageHeader.new) do |header|+ header.with_title { t(:label_budget_plural) }+ header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },+ t(:label_budget_plural)])+ end+%>+<%=+ render(Primer::OpenProject::SubHeader.new) do |subheader|+ subheader.with_action_button(scheme: :primary,+ aria: { label: I18n.t(:button_add_budget) },+ title: I18n.t(:button_add_budget),+ tag: :a,+ href: new_projects_budget_path(@project)) do |button|+ button.with_leading_visual_icon(icon: :plus)+ t(:label_budget)+ end+ end+%>+<% if @budgets.empty? %><%= no_results_box %>