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] link to edit profile, localize button string
Tobias Dillmannb9d4fa5f83da
diff --git a/app/components/users/hover_card_component.html.erb b/app/components/users/hover_card_component.html.erbindex e36208739ff..d2bb4d03d71 100644--- a/app/components/users/hover_card_component.html.erb+++ b/app/components/users/hover_card_component.html.erb@@ -61,9 +61,8 @@ See COPYRIGHT and LICENSE files for more details.endflex.with_row do- # TODO: could also use helpers.allowed_management_user_profile_path here...- render(Primer::Beta::Button.new(tag: :a, href: user_path(@user))) do- "Open profile"+ render(Primer::Beta::Button.new(tag: :a, href: helpers.allowed_management_user_profile_path(@user))) do+ I18n.t("users.open_profile")endendenddiff --git a/config/locales/en.yml b/config/locales/en.ymlindex 26e5d7bbef5..3f0d35b3e96 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -544,6 +544,7 @@ en:summary: Member of %{names}.memberships:no_results_title_text: This user is currently not a member of a project.+ open_profile: "Open profile"page:text: "Text"placeholder_users: