diff --git a/app/views/contacts/index.html.haml b/app/views/contacts/index.html.haml index 3c7827e6108e9dd82abbdfd80441b1c87c0d2bd8..4c3e2c929dad7f216c47156de404be9187095d75 100644 --- a/app/views/contacts/index.html.haml +++ b/app/views/contacts/index.html.haml @@ -25,7 +25,7 @@ = link_to t('.start_a_conversation'), new_conversation_path(:aspect_id => @aspect.id, :name => @aspect.name), conv_opts - if @contacts.size > suggested_limit = javascript_tag "$('.conversation_button').tipsy({trigger: 'hover', gravity: 'n'});" - = link_to t('.edit_aspect', :name => @aspect.name), edit_aspect_path(@aspect), :rel => "facebox" + = link_to t('.add_to_aspect', :name => @aspect.name), edit_aspect_path(@aspect), :rel => "facebox" - if @contacts.size > 0 - for contact in @contacts @@ -57,4 +57,12 @@ - else %h3.no_contacts = t('.no_contacts') + %br + %br + = t('.check_out') + = link_to t('contacts.featured.featured_users'), "/featured" + - if @aspect + or + = link_to t('.add_to_aspect', :name => @aspect.name).downcase, edit_aspect_path(@aspect), :rel => "facebox" + diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index c5a01e04fb5b5ee5f28c7b6839ece389551fd5f0..cc4c66a5f4051172b0cd0b61b73e124bac195237 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -225,7 +225,7 @@ en: other: "%{count} reactions" contacts: - zero: "no contacts" + zero: "contacts" one: "1 contact" two: "%{count} contacts" few: "%{count} contacts" @@ -236,12 +236,13 @@ en: sharing: people_sharing: "People sharing with you:" index: - edit_aspect: "Edit %{name}" + add_to_aspect: "Add contacts to %{name}" start_a_conversation: "Start a conversation" add_a_new_aspect: "Add a new aspect" title: "Contacts" your_contacts: "Your Contacts" - no_contacts: "No contacts." + no_contacts: "Looks like you need to add some contacts!" + check_out: "Check out" my_contacts: "My Contacts" all_contacts: "All Contacts" only_sharing_with_me: "Only sharing with me"