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

This commit is contained in:
Ilya Zhitomirskiy 2011-09-26 17:32:37 -07:00
parent 675908a57d
commit f9172c8733
5 changed files with 16 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -3338,6 +3338,9 @@ ul#getting_started
:vertical-align top
:position relative
:border
:bottom 1px solid #ddd
:padding 5px
:margin
:bottom 5px