Skip to content

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

Add html titles for project settings pages

Henriette Darge5213cde37164
diff --git a/app/views/admin/settings/new_project_settings/show.html.erb b/app/views/admin/settings/new_project_settings/show.html.erb
index 00cf388c8ba..b1f60bb25c6 100644
--- a/app/views/admin/settings/new_project_settings/show.html.erb
+++ b/app/views/admin/settings/new_project_settings/show.html.erb
@@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
+<% html_title t(:label_administration), t(:label_project_new) %>
<%= toolbar title: t(:label_project_new) %>
<%= styled_form_tag(admin_settings_new_project_path, method: :patch) do %>
diff --git a/app/views/admin/settings/project_custom_fields/edit.html.erb b/app/views/admin/settings/project_custom_fields/edit.html.erb
index 31d4eadf1ce..6d078413f51 100644
--- a/app/views/admin/settings/project_custom_fields/edit.html.erb
+++ b/app/views/admin/settings/project_custom_fields/edit.html.erb
@@ -26,6 +26,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
+<% html_title t(:label_administration), t("settings.project_attributes.heading"), @custom_field.name %>
+
<% content_controller 'admin--custom-fields',
dynamic: true,
'admin--custom-fields-format-value': @custom_field.field_format
diff --git a/app/views/admin/settings/project_custom_fields/new.html.erb b/app/views/admin/settings/project_custom_fields/new.html.erb
index 143135f47ec..92fd5270f35 100644
--- a/app/views/admin/settings/project_custom_fields/new.html.erb
+++ b/app/views/admin/settings/project_custom_fields/new.html.erb
@@ -31,6 +31,7 @@ See COPYRIGHT and LICENSE files for more details.
'admin--custom-fields-format-value': @custom_field.field_format
%>
+<% html_title t(:label_administration), t("settings.project_attributes.heading"), t('settings.project_attributes.new.heading') %>
<% local_assigns[:additional_breadcrumb] = t('settings.project_attributes.new.heading') %>
<%= render(Settings::ProjectCustomFields::NewFormHeaderComponent.new) %>
diff --git a/app/views/admin/settings/projects_settings/show.html.erb b/app/views/admin/settings/projects_settings/show.html.erb
index f5b2d89f315..f8ca16c9be3 100644
--- a/app/views/admin/settings/projects_settings/show.html.erb
+++ b/app/views/admin/settings/projects_settings/show.html.erb
@@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
+<% html_title t(:label_administration), t(:label_project_list_plural) %>
<%= toolbar title: t(:label_project_list_plural) %>
<%= styled_form_tag(admin_settings_projects_path, method: :patch) do %>