| <%= l(:field_name) %>: | <%= @person.firstname %> |
|---|---|
| <%= l(:label_people_middlename) %>: | <%= @person.middlename %> |
| <%= l(:field_lastname) %>: | <%= @person.lastname %> |
| <%= l(:label_people_job_title) %>: | <%= @person.job_title %> |
| <%= l(:label_people_address) %>: | <%= @person.address %>
<% if !@person.address.blank? %>
<%= link_to l(:label_people_show_on_map), "http://maps.google.com/maps?f=q&q=#{h @person.address.gsub("\r\n"," ").gsub("\n"," ")}+(#{h @person.name})&ie=UTF8&om=1"%> <% end %> |
| <%= l(:label_people_phone_plural) %>: |
<% @person.phones.each do |phone| %>
<%= h phone %> <% end %> |
| <%= l(:field_mail) %>: | <%= mail_to @person.email %> |
| <%= l(:label_people_skype) %>: | <%= link_to @person.skype, "skype:#{@person.skype}?call" %> |
| <%= l(:label_people_twitter) %>: | <%= link_to @person.twitter, "http://twitter.com/" + @person.twitter %> |
| <%= l(:label_people_facebook) %>: | <%= link_to @person.facebook.gsub(/^.*facebook.com\//, ''), "http://facebook.com/#{@person.facebook}" %> |
| <%= l(:label_people_linkedin) %>: | <%= link_to @person.name, "http://www.linkedin.com/profile/view?id=#{@person.linkedin}"%> |
| <%= l(:label_people_birthday) %>: | ><%= "#{@person.birthday.day} #{t('date.month_names')[@person.birthday.month]}"%> |
| <%= l(:label_people_age) %>: | <%= @person.age %> |
| <%= custom_value.custom_field.name%>: | <%=h show_value(custom_value) %> |
| <%=l(:label_registered_on)%>: | <%= format_date(@person.created_on) %> |
| <%=l(:field_last_login_on)%>: | <%= format_date(@person.last_login_on) %> |