Commit db6aa71cef5de3c91e5f6c9b0ce8e85af38ddedf

Authored by Victor Costa
1 parent 88cb1d9c
Exists in staging and in 1 other branch production

Fix html_safe in action tracker

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/action_tracker_helper.rb
@@ -15,7 +15,7 @@ module ActionTrackerHelper @@ -15,7 +15,7 @@ module ActionTrackerHelper
15 end 15 end
16 16
17 def join_community_description ta 17 def join_community_description ta
18 - n_('has joined 1 community:<br />%{name}'.html_safe, 'has joined %{num} communities:<br />%{name}'.html_safe, ta.get_resource_name.size) % { 18 + n_('has joined 1 community:<br />%{name}', 'has joined %{num} communities:<br />%{name}', ta.get_resource_name.size).html_safe % {
19 num: ta.get_resource_name.size, 19 num: ta.get_resource_name.size,
20 name: ta.collect_group_with_index(:resource_name) do |n,i| 20 name: ta.collect_group_with_index(:resource_name) do |n,i|
21 link = link_to image_tag(ta.get_resource_profile_custom_icon[i] || default_or_themed_icon("/images/icons-app/community-icon.png")), 21 link = link_to image_tag(ta.get_resource_profile_custom_icon[i] || default_or_themed_icon("/images/icons-app/community-icon.png")),