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 edit forum page
Behrokh Satarnejad989b8b453a9f
diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erbindex 55eecad24eb..db71092e464 100644--- a/app/views/forums/edit.html.erb+++ b/app/views/forums/edit.html.erb@@ -26,7 +26,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<%= toolbar title: Forum.model_name.human %>+<%=+ render Primer::OpenProject::PageHeader.new do |header|+ header.with_title { @forum.name }+ header.with_breadcrumbs( [{ href: project_overview_path(@project.id), text: @project.name },+ { href: project_forums_path(@project.id), text: t(:label_forum_plural) },+ @forum.name+ ]) end %><%= labelled_tabular_form_for [@project, @forum] do |f| %><%= render partial: 'form', locals: { f: f } %>diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erbindex d8fb80516f8..efca46174d5 100644--- a/app/views/forums/index.html.erb+++ b/app/views/forums/index.html.erb@@ -31,11 +31,10 @@ See COPYRIGHT and LICENSE files for more details.<%=render Primer::OpenProject::PageHeader.new do |header|header.with_title { t(:label_forum_plural) }- header.with_breadcrumbs( [- { href: project_overview_path(@project.id), text: @project.name },+ header.with_breadcrumbs( [{ href: project_overview_path(@project.id), text: @project.name },t(:label_forum_plural)- ])- end %>+ ]) end %>+<% if User.current.allowed_in_project?(:manage_forums, @project) %><%=render(Primer::OpenProject::SubHeader.new) do |subheader|