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

[#59925] Revert "[#59925] hover card in news block"

Tobias Dillmannaa00d3a39fff
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 47eee76860e..50e94f05785 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -192,7 +192,10 @@ module ApplicationHelper
def authoring_at(created, author)
return if author.nil?
- I18n.t(:"js.label_added_time_by", authorLink: link_to_user(author), age: created).html_safe
+ I18n.t(:"js.label_added_time_by",
+ author: html_escape(author.name),
+ age: created,
+ authorLink: user_path(author)).html_safe
end
def time_tag(time)
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index c6cf1289a60..fd80166a766 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -436,7 +436,7 @@ en:
label_add_row_before: "Add row before"
label_add_selected_columns: "Add selected columns"
label_added_by: "added by"
- label_added_time_by: 'Added by %{authorLink} at %{age}'
+ label_added_time_by: 'Added by <a href="%{authorLink}">%{author}</a> at %{age}'
label_ago: "days ago"
label_all: "all"
label_all_uppercase: "All"