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
[#55581] remove redundant comments, provide 404 locale
Tobias Dillmann4269e4aacdd1
diff --git a/app/components/users/hover_card_component.html.erb b/app/components/users/hover_card_component.html.erbindex a7b79af7f7a..c5784f07ca8 100644--- a/app/components/users/hover_card_component.html.erb+++ b/app/components/users/hover_card_component.html.erb@@ -42,7 +42,7 @@ See COPYRIGHT and LICENSE files for more details.if show_email?f.with_column do- render(Primer::Beta::Text.new(color: :muted)) { @user.mail } # TODO: only with permission+ render(Primer::Beta::Text.new(color: :muted)) { @user.mail }endendend@@ -70,8 +70,7 @@ See COPYRIGHT and LICENSE files for more details.elserender Primer::Beta::Blankslate.new(border: false, narrow: true) do |component|component.with_visual_icon(icon: "x-circle")- # TODO: fix 404 string- component.with_heading(tag: :h3).with_content(I18n.t("api_v3.errors.not_found.work_package"))+ component.with_heading(tag: :h3).with_content(I18n.t("api_v3.errors.not_found.user"))endend%>diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 770c28e2333..edf6b75ea8a 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -4136,6 +4136,7 @@ en:code_500_missing_enterprise_token: "The request can not be handled due to invalid or missing Enterprise token."not_found:work_package: "The work package you are looking for cannot be found or has been deleted."+ user: "The user you are looking for cannot be found or has been deleted."expected:date: "YYYY-MM-DD (ISO 8601 date only)"datetime: "YYYY-MM-DDThh:mm:ss[.lll][+hh:mm] (any compatible ISO 8601 datetime)"