Commit 435c6e9a460087807cf612b791be49539b53919c
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3_ui_improvements' into stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -1136,7 +1136,7 @@ module ApplicationHelper |
1136 | 1136 | pending_tasks_count = '' |
1137 | 1137 | count = user ? Task.to(user).pending.count : -1 |
1138 | 1138 | if count > 0 |
1139 | - pending_tasks_count = link_to(count.to_s, user.tasks_url, :id => 'pending-tasks-count', :title => _("Manage your pending tasks")) | |
1139 | + 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")) | |
1140 | 1140 | end |
1141 | 1141 | |
1142 | 1142 | (_("<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'))) + | ... | ... |