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
use page header component in design page
Behrokh Satarnejad57ba34028496
diff --git a/app/controllers/custom_styles_controller.rb b/app/controllers/custom_styles_controller.rbindex 884d8a87548..6291dfa8b45 100644--- a/app/controllers/custom_styles_controller.rb+++ b/app/controllers/custom_styles_controller.rb@@ -152,10 +152,6 @@ class CustomStylesController < ApplicationControllerredirect_to action: :showend- def show_local_breadcrumb- true- end-privatedef options_for_theme_selectdiff --git a/app/views/custom_styles/show.html.erb b/app/views/custom_styles/show.html.erbindex 1368cf54c11..1a0d14d257a 100644--- a/app/views/custom_styles/show.html.erb+++ b/app/views/custom_styles/show.html.erb@@ -29,7 +29,14 @@ See COPYRIGHT and LICENSE files for more details.<% html_title t(:label_administration), t(:label_custom_style) %>-<%= toolbar title: t(:label_custom_style) %>+<%=+ render(Primer::OpenProject::PageHeader.new) do |header|+ header.with_title { t(:label_custom_style) }+ header.with_breadcrumbs([{ href: admin_index_path, text: t(:label_administration) },+ t(:label_custom_style)])+ header.with_description { t(:label_custom_style_description) }+ end+%><%= error_messages_for 'custom_style' %>diff --git a/config/locales/en.yml b/config/locales/en.ymlindex d1d6884fe85..da654a68050 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2067,6 +2067,7 @@ en:label_custom_field_plural: "Custom fields"label_custom_field_default_type: "Empty type"label_custom_style: "Design"+ label_custom_style_description: "Choose how OpenProject looks to you with themes, select your default colours to use in the app and how exports look like."label_dashboard: "Dashboard"label_database_version: "PostgreSQL version"label_date: "Date"