Skip to content

Commit

Permalink
project attribute edit header update with new breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatarnejad committed Mar 28, 2024
1 parent fb3c6a7 commit 051a53f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
render(Primer::Ï.new) do |header|
render(Primer::OpenProject::PageHeader.new) do |header|
header.with_title(variant: :medium) { @custom_field.name }
header.with_description { t('settings.project_attributes.edit.description') }
header.with_description { t("settings.project_attributes.edit.description") }
header.with_breadcrumbs(breadcrumbs_items)
end
%>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def initialize(custom_field:)
end

def breadcrumbs_items
[{ href: project_overview_path(@project.id), text: @project.name },
[{ href: admin_settings_project_custom_fields_path, text: t("label_administration") },
t("settings.project_attributes.heading")]
end
end
Expand Down

0 comments on commit 051a53f

Please sign in to comment.