Merge pull request #5819 from svbergerem/no-contacts-in-aspect-message
Add 'no contacts in this aspect yet' message
This commit is contained in:
commit
b07ad67946
3 changed files with 6 additions and 23 deletions
|
|
@ -57,6 +57,7 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
.well { margin: 20px 0 10px; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
= render 'contacts/header'
|
= render 'contacts/header'
|
||||||
|
|
||||||
- if @contacts_size > 0
|
- if @contacts_size > 0
|
||||||
|
- if @aspect && @aspect.contacts.length == 0
|
||||||
|
.well
|
||||||
|
= t('.no_contacts_in_aspect')
|
||||||
#contact_stream
|
#contact_stream
|
||||||
-# JS
|
-# JS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -187,10 +187,7 @@ en:
|
||||||
make_aspect_list_visible: "Make contacts in this aspect visible to each other?"
|
make_aspect_list_visible: "Make contacts in this aspect visible to each other?"
|
||||||
remove_aspect: "Delete this aspect"
|
remove_aspect: "Delete this aspect"
|
||||||
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
|
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
|
||||||
add_existing: "Add an existing contact"
|
|
||||||
set_visibility: "Set visibility"
|
set_visibility: "Set visibility"
|
||||||
manage: "Manage"
|
|
||||||
done: "Done"
|
|
||||||
rename: "Rename"
|
rename: "Rename"
|
||||||
aspect_list_is_visible: "Contacts in this aspect are able to see each other."
|
aspect_list_is_visible: "Contacts in this aspect are able to see each other."
|
||||||
aspect_list_is_not_visible: "Contacts in this aspect are not able to see each other."
|
aspect_list_is_not_visible: "Contacts in this aspect are not able to see each other."
|
||||||
|
|
@ -198,10 +195,6 @@ en:
|
||||||
aspect_chat_is_not_enabled: "Contacts in this aspect are not able to chat with you."
|
aspect_chat_is_not_enabled: "Contacts in this aspect are not able to chat with you."
|
||||||
update: "Update"
|
update: "Update"
|
||||||
updating: "Updating"
|
updating: "Updating"
|
||||||
aspect_contacts:
|
|
||||||
done_editing: "Finished editing"
|
|
||||||
show:
|
|
||||||
edit_aspect: "Edit aspect"
|
|
||||||
no_posts_message:
|
no_posts_message:
|
||||||
start_talking: "Nobody has said anything yet!"
|
start_talking: "Nobody has said anything yet!"
|
||||||
no_contacts_message:
|
no_contacts_message:
|
||||||
|
|
@ -214,11 +207,6 @@ en:
|
||||||
deselect_all: "Deselect all"
|
deselect_all: "Deselect all"
|
||||||
edit_aspect: "Edit %{name}"
|
edit_aspect: "Edit %{name}"
|
||||||
add_an_aspect: "+ Add an aspect"
|
add_an_aspect: "+ Add an aspect"
|
||||||
selected_contacts:
|
|
||||||
view_all_community_spotlight: "See all community spotlight"
|
|
||||||
view_all_contacts: "View all contacts"
|
|
||||||
no_contacts: "You don’t have any contacts here yet."
|
|
||||||
manage_your_aspects: "Manage your aspects."
|
|
||||||
new:
|
new:
|
||||||
name: "Name (only visible to you)"
|
name: "Name (only visible to you)"
|
||||||
create: "Create"
|
create: "Create"
|
||||||
|
|
@ -231,17 +219,9 @@ en:
|
||||||
update:
|
update:
|
||||||
success: "Your aspect, %{name}, has been successfully edited."
|
success: "Your aspect, %{name}, has been successfully edited."
|
||||||
failure: "Your aspect, %{name}, had too long name to be saved."
|
failure: "Your aspect, %{name}, had too long name to be saved."
|
||||||
move_contact:
|
|
||||||
failure: "Didn’t work %{inspect}"
|
|
||||||
success: "Person moved to new aspect"
|
|
||||||
error: "Error moving contact: %{inspect}"
|
|
||||||
add_to_aspect:
|
add_to_aspect:
|
||||||
failure: "Failed to add contact to aspect."
|
failure: "Failed to add contact to aspect."
|
||||||
success: "Successfully added contact to aspect."
|
success: "Successfully added contact to aspect."
|
||||||
helper:
|
|
||||||
remove: "Remove"
|
|
||||||
aspect_not_empty: "Aspect not empty"
|
|
||||||
are_you_sure: "Are you sure you want to delete this aspect?"
|
|
||||||
seed:
|
seed:
|
||||||
family: "Family"
|
family: "Family"
|
||||||
work: "Work"
|
work: "Work"
|
||||||
|
|
@ -337,16 +317,15 @@ en:
|
||||||
your_contacts: "Your contacts"
|
your_contacts: "Your contacts"
|
||||||
no_contacts: "Looks like you need to add some contacts!"
|
no_contacts: "Looks like you need to add some contacts!"
|
||||||
no_contacts_message: "Check out %{community_spotlight}"
|
no_contacts_message: "Check out %{community_spotlight}"
|
||||||
no_contacts_message_with_aspect: "Check out %{community_spotlight} or %{add_to_aspect_link}"
|
|
||||||
add_to_aspect_link: "Add contacts to %{name}"
|
|
||||||
community_spotlight: "Community spotlight"
|
community_spotlight: "Community spotlight"
|
||||||
|
no_contacts_in_aspect: "You don't have any contacts in this aspect yet. Below is a list of your existing contacts which you can add to this aspect."
|
||||||
my_contacts: "My contacts"
|
my_contacts: "My contacts"
|
||||||
all_contacts: "All contacts"
|
all_contacts: "All contacts"
|
||||||
only_sharing_with_me: "Only sharing with me"
|
only_sharing_with_me: "Only sharing with me"
|
||||||
add_contact: "Add contact"
|
add_contact: "Add contact"
|
||||||
remove_contact: "Remove contact"
|
remove_contact: "Remove contact"
|
||||||
many_people_are_you_sure: "Are you sure you want to start a private conversation with more than %{suggested_limit} contacts? Posting to this aspect may be a better way to contact them."
|
many_people_are_you_sure: "Are you sure you want to start a private conversation with more than %{suggested_limit} contacts? Posting to this aspect may be a better way to contact them."
|
||||||
user_search: "User search"
|
user_search: "Contact search"
|
||||||
spotlight:
|
spotlight:
|
||||||
community_spotlight: "Community spotlight"
|
community_spotlight: "Community spotlight"
|
||||||
suggest_member: "Suggest a member"
|
suggest_member: "Suggest a member"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue