% content_for :header_tags do %>
<%= javascript_include_tag 'principal_roles', :plugin => 'redmine_global_roles'%>
<% end %>
<%= l(:label_role) %> |
<%= call_hook(:view_users_global_roles_table_header, :user => @user )%>
|
<% @user.principal_roles.each do |principal_role| %>
<%= render :partial => 'principal_roles/show_table_row', :locals => {:principal_role => principal_role} %>
<%end%>
<%= l(:label_no_data) %>
<%= render :partial => 'users/available_global_roles', :locals => {:user => @user, :global_roles => @global_roles}%>