diff --git a/app/views/people/contacts.haml b/app/views/people/contacts.haml index 9c0b74a75b92ba5808c92af3fb6cfe6a3c82231f..b629a62c01672af4fb95edc6a71bffc7e1235222 100644 --- a/app/views/people/contacts.haml +++ b/app/views/people/contacts.haml @@ -17,14 +17,14 @@ - if user_signed_in? && !(@contact.persisted? || current_user.person == @person) .right - if @incoming_request - = link_to t('.incoming_request', :name => truncate(@person.name, :length => 20, :separator => ' ', :omission => '')), + = link_to t('people.show.incoming_request', :name => truncate(@person.name, :length => 20, :separator => ' ', :omission => '')), {:controller => "contacts", :action => "new", :person_id => @person.id}, :class => 'share_with button', :rel => 'facebox' -else - = link_to t('.start_sharing'), + = link_to t('people.show.start_sharing'), {:controller => "contacts", :action => "new", :person_id => @person.id}, @@ -49,7 +49,7 @@ = @person.profile.format_tags(@person.profile.tag_string) - if user_signed_in? && @person == current_user.person %span.hover_edit - = link_to t('.edit'), edit_profile_path + = link_to t('people.show.edit'), edit_profile_path %hr diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index e99cb1a0f5162e97015b6763d0a5c05462ffe13d..f8870beba4e06ac9dbb3f73e4549d065f3732249 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -17,8 +17,7 @@ %hr{:style=>"width:300px;"} .section.contact_pictures %h4 - = @contacts_of_contact_count - = t('.contacts_of_contact') + = t('contacts', :count => @contacts_of_contact_count) - for person in @contacts_of_contact = person_image_link person - if @contacts_of_contact.count > 25