<%= _("%s's pending tasks") % profile.name %>
<% if @tasks.empty? %>
<%= _('No pending tasks for %s') % profile.name %>
<% else %>
<% @tasks.each do |item| %>
- <%= render :partial => partial_for_class(item.class), :locals => { :task => item } %>
<% end %>
<% end %>
<% button_bar do %>
<%= button(:edit, _('View processed tasks'), :action => 'processed') %>
<%# FiXME button(:edit, _('View my requests'), :action => 'list_requested') %>
<%# FIXME button('menu-mail', _('Send request'), :action => 'new') %>
<%= button(:back, _('Back to control panel'), :controller => 'profile_editor') %>
<% end %>