ref: master
app/views/profile_editor/_pending_tasks.html.erb
<%= stylesheet_link_tag 'tasks' %> <% unless @pending_tasks.empty? %><% end %><%= _('You have %s pending requests' % @pending_tasks.count) %>
<%= safe_join(@pending_tasks.limit(5).map {|task| content_tag('li', task_information(task, params).html_safe)}) %>
<%= button(:todo, _('Process requests'), :controller => 'tasks', :action => 'index') %>