Commit fb0bd5635e8b1fc0a51e15ad00412ef983e1a693
1 parent
a9ffbc6e
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Added icon and span tags to improve task link visualization
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
| @@ -1131,7 +1131,7 @@ module ApplicationHelper | @@ -1131,7 +1131,7 @@ module ApplicationHelper | ||
| 1131 | pending_tasks_count = '' | 1131 | pending_tasks_count = '' |
| 1132 | count = user ? Task.to(user).pending.count : -1 | 1132 | count = user ? Task.to(user).pending.count : -1 |
| 1133 | if count > 0 | 1133 | if count > 0 |
| 1134 | - pending_tasks_count = link_to(count.to_s, user.tasks_url, :id => 'pending-tasks-count', :title => _("Manage your pending tasks")) | 1134 | + 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")) |
| 1135 | end | 1135 | end |
| 1136 | 1136 | ||
| 1137 | (_("<span class='welcome'>Welcome,</span> %s") % link_to("<i style='background-image:url(#{user.profile_custom_icon(gravatar_default)})'></i><strong>#{user.identifier}</strong>", user.public_profile_url, :id => "homepage-link", :title => _('Go to your homepage'))) + | 1137 | (_("<span class='welcome'>Welcome,</span> %s") % link_to("<i style='background-image:url(#{user.profile_custom_icon(gravatar_default)})'></i><strong>#{user.identifier}</strong>", user.public_profile_url, :id => "homepage-link", :title => _('Go to your homepage'))) + |