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

fix header tag in blankslate and its content

Behrokh Satarnejadb7ba6bb3567c
diff --git a/app/components/work_package_relations_tab/index_component.html.erb b/app/components/work_package_relations_tab/index_component.html.erb
index 4528e2b7d36..804d2da6780 100644
--- a/app/components/work_package_relations_tab/index_component.html.erb
+++ b/app/components/work_package_relations_tab/index_component.html.erb
@@ -93,7 +93,7 @@
flex.with_row do
render Primer::Beta::Blankslate.new(border: true) do |component|
component.with_visual_icon(icon: "package-dependents")
- component.with_heading(tag: :h2).with_content(t("#{I18N_NAMESPACE}.index.blankslate_heading"))
+ component.with_heading(tag: :h4).with_content(t("#{I18N_NAMESPACE}.index.blankslate_heading"))
component.with_description { t("#{I18N_NAMESPACE}.index.blankslate_description") }
end
end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 2bced0feceb..c2544b68bd9 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -710,7 +710,7 @@ en:
action_bar_title: "Add relations to other work packages to create a link between them."
no_results_title_text: There are currently no relations available.
blankslate_heading: "No relations"
- blankslate_description: "This work package does not yet have any relations."
+ blankslate_description: "This work package does not yet have any relations yet."
label_add_x: "Add %{x}"
label_edit_x: "Edit %{x}"
label_add_description: "Add description"
@@ -746,8 +746,8 @@ en:
label_duplicated_plural: "duplicated by"
label_duplicated_by_singular: "duplicated by"
label_duplicated_by_plural: "duplicated by"
- duplicated_by_description: "The related work package is a copy of this."
- duplicated_description: "The related work package is a copy of this."
+ duplicated_by_description: "The related work package is a copy of this"
+ duplicated_description: "The related work package is a copy of this"
label_includes_singular: "includes"
label_includes_plural: "includes"
includes_description: "Marks the related work package as including this one with no additional effect"