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 forum new message page
Behrokh Satarnejade60dd4835251
diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erbindex a4dc5faad6d..be022da75b6 100644--- a/app/views/forums/show.html.erb+++ b/app/views/forums/show.html.erb@@ -51,7 +51,7 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { @forum.name }header.with_description { @forum.description }header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },- { href: project_forums_path, text: t(:label_forum_plural) },+ { href: project_forums_path(@project), text: t(:label_forum_plural) },@forum.name])end%>diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erbindex 7efd05da3ea..9a278618e1c 100644--- a/app/views/messages/new.html.erb+++ b/app/views/messages/new.html.erb@@ -27,8 +27,15 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<h2><%= link_to h(@forum.name), controller: '/forums', action: 'show', project_id: @project, id: @forum %> » <%= t(:label_message_new) %></h2>-+<%=+ render(Primer::OpenProject::PageHeader.new) do |header|+ header.with_title { t(:label_message_new) }+ header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },+ { href: project_forums_path(@project), text: t(:label_forum_plural) },+ { href: url_for(controller: '/forums', action: 'show', project_id: @project, id: @forum), text: @forum.name },+ t(:label_message_new)])+ end+%><%= labelled_tabular_form_for @message,url: forum_topics_path(@forum),html: { multipart: true,