Skip to content
Extraits de code Groupes Projets
Valider 513b2cb5 rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

make the aspect edit page a little more helpful for empty state. a loonngggg way to go

parent d8d3996f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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"
......@@ -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"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter