Skip to content
Extraits de code Groupes Projets
Valider f9172c87 rédigé par Ilya Zhitomirskiy's avatar Ilya Zhitomirskiy
Parcourir les fichiers

added aspect dropdown to the getting started page, renamed the button to be add contact

parent 675908a5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -79,6 +79,6 @@ LISTITEM
end
def dropdown_may_create_new_aspect
@aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification
@aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification || params[:action] == "getting_started"
end
end
......@@ -113,6 +113,12 @@
%div
- Person.featured_users[0..5].each do |person|
.featured_user_card_small
.right
.add_to_aspect
= render :partial => 'people/relationship_action',
:locals => { :person => person,
:contact => current_user.contact_for(person),
:current_user => current_user }
= person_image_link(person, :target => "_blank")
= person_link(person, :class => "hovercardable", :target => "_blank")
.tags
......
......@@ -92,7 +92,7 @@ en:
contacts_visible: "Contacts in this aspect will be able to see each other."
contacts_not_visible: "Contacts in this aspect will not be able to see each other."
edit:
make_aspect_list_visible: "make aspect list visible?"
make_aspect_list_visible: "make contacts in this aspect visible to each other?"
remove_aspect: "Delete this aspect"
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
add_existing: "Add an existing contact"
......@@ -127,7 +127,7 @@ en:
manage_your_aspects: "Manage your aspects."
new:
name: "Name"
name: "Name (only visibile to you)"
create: "Create"
create:
success: "Your new aspect %{name} was created"
......@@ -696,9 +696,9 @@ en:
shared:
aspect_dropdown:
add_to_aspect: "Add to aspect"
add_to_aspect: "Add contact"
toggle:
zero: "Add to aspect"
zero: "Add contact"
one: "In %{count} aspect"
two: "In %{count} aspects"
few: "In %{count} aspects"
......
......@@ -36,10 +36,10 @@ en:
web_sockets:
disconnected: "The websocket is closed; posts will no longer be streamed live."
aspect_dropdown:
add_to_aspect: "Add to aspect"
add_to_aspect: "Add contact"
all_aspects: "All aspects"
toggle:
zero: "Add to aspect"
zero: "Add contact"
one: "In {{count}} aspect"
two: "In {{count}} aspects"
few: "In {{count}} aspects"
......
......@@ -3338,6 +3338,9 @@ ul#getting_started
:vertical-align top
:position relative
:border
:bottom 1px solid #ddd
:padding 5px
:margin
:bottom 5px
......
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