Add links to add or invite contacts

This commit is contained in:
fla 2015-06-13 12:26:51 +02:00 committed by Marien Fressinaud
parent d9572ec337
commit da1b0b5666
2 changed files with 9 additions and 8 deletions

View file

@ -3,10 +3,9 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
#no_contacts.empty_message #no_contacts.empty_message
= t('.you_should_add_some_more_contacts') %p.lead
%br = t('.you_should_add_some_more_contacts')
%br %p
= t('.try_adding_some_more_contacts') != t('.try_adding_some_more_contacts', search_link: link_to(t(".search_link_text"), search_path), invite_link: link_to(t(".invite_link_text"), new_user_invitation_path))
- if AppConfig.settings.community_spotlight.enable? - if AppConfig.settings.community_spotlight.enable?
!= t('.or_spotlight', :link => link_to(t(".community_spotlight") , community_spotlight_path)) != t('.or_spotlight', :link => link_to(t(".community_spotlight") , community_spotlight_path))

View file

@ -204,7 +204,9 @@ en:
start_talking: "Nobody has said anything yet!" start_talking: "Nobody has said anything yet!"
no_contacts_message: no_contacts_message:
you_should_add_some_more_contacts: "You should add some more contacts!" you_should_add_some_more_contacts: "You should add some more contacts!"
try_adding_some_more_contacts: "You can search or invite more contacts." try_adding_some_more_contacts: "You can %{search_link} or %{invite_link} more contacts."
search_link_text: "search"
invite_link_text: "invite"
or_spotlight: "Or you can share with %{link}" or_spotlight: "Or you can share with %{link}"
community_spotlight: "Community spotlight" community_spotlight: "Community spotlight"
aspect_listings: aspect_listings: