Commit 34b0d90310ce79b1c2c0547f9652ebf318c5852d

Authored by Victor Costa
1 parent 23459ad1
Exists in staging and in 1 other branch production

Fix task count in user's header

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -918,7 +918,7 @@ module ApplicationHelper
918 918 pending_tasks_count = ''
919 919 count = user ? Task.to(user).pending.count : -1
920 920 if count > 0
921   - pending_tasks_count = link_to("<i class=\"icon-menu-tasks\"></i><span class=\"task-count\">#{count}</span>", user.tasks_url, :id => 'pending-tasks-count', :title => _("Manage your pending tasks"))
  921 + pending_tasks_count = link_to("<i class=\"icon-menu-tasks\"></i><span class=\"task-count\">#{count}</span>".html_safe, user.tasks_url, :id => 'pending-tasks-count', :title => _("Manage your pending tasks"))
922 922 end
923 923 user_identifier = "<i style='background-image:url(#{user.profile_custom_icon(gravatar_default)})'></i><strong>#{user.identifier}</strong>"
924 924 welcome_link = link_to(user_identifier.html_safe, user.public_profile_url, :id => "homepage-link", :title => _('Go to your homepage'))
... ...