<%= error_messages_for 'person' %> <% html_title "#{l(:label_people_person)} ##{@person.id}: #{@person.name}" %>
<%= link_to l(:label_profile), user_path(@person), :class => 'icon icon-user' %> <%= link_to l(:button_edit), {:controller => 'people', :action => 'edit', :id => @person}, :class => 'icon icon-edit' if User.current.allowed_people_to?(:edit_people, @person) %> <%= link_to l(:button_delete), {:controller => 'users', :action => 'destroy', :project_id => @project, :id => @person}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' if User.current.allowed_people_to?(:delete_people, @person) %>

<%= l(:label_people_person) %> #<%= @person.id %>

<%= link_to avatar(@person, :size => "64", :full_size => true), @person.avatar %>

<%= h @person.name %>

<%= h @person.job_title %> <% if @person.department %> <%= " #{l(:label_people_at_department)} " %> <%= link_to @person.department.name, {:controller => 'departments', :action => 'show', :id => @person.department_id } %> <% end %>

    <% if @person.phones.any? %>
  • <%= @person.phones.first %>
  • <% end %>
<%= call_hook(:view_people_show_details_bottom, :person => @person) %>
<% person_tabs = [{:name => 'activity', :partial => 'activity', :label => :label_activity}, {:name => 'files', :partial => 'attachments', :label => :label_attachment_plural}, {:name => 'projects', :partial => 'projects', :label => :label_project_plural} ] %> <%= render_tabs person_tabs %> <% content_for :sidebar do %> <%= render :partial => 'attributes' %> <%= call_hook(:view_people_sidebar_after_attributes, :person => @person) %> <% if !@person.background.blank? %>

<%= l(:label_people_background) %>

<%= textilizable(@person, :background) %>
<% end %> <% end %> <% content_for :header_tags do %> <%= javascript_include_tag :people, :plugin => 'redmine_people' %> <%= stylesheet_link_tag :people, :plugin => 'redmine_people' %> <% end %>