Skip to content

Commit a4fa05c

Browse files
authored
[69972] Inconsistent widget name for "project description" widget on project home page (#21539)
Omit the word "project" from the widget titles since they also apply for programs and portfolios
2 parents e2e4986 + 107d2cf commit a4fa05c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/grids/app/components/grids/widgets/project_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ProjectStatus < Grids::WidgetComponent
3737
param :project
3838

3939
def title
40-
Project.human_attribute_name(:status_code)
40+
Project.human_attribute_name(:status)
4141
end
4242
end
4343
end

modules/grids/config/locales/js-en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ en:
1616
news:
1717
title: 'News'
1818
project_description:
19-
title: 'Project description'
19+
title: 'Description'
2020
no_results: "No description has been written yet. One can be provided in the 'Project settings'."
2121
project_status:
2222
title: 'Status'

0 commit comments

Comments
 (0)