Add invitation link to contacts page
This commit is contained in:
parent
a5d9d779ff
commit
1733131c0c
2 changed files with 11 additions and 1 deletions
|
|
@ -1,7 +1,14 @@
|
|||
%h3
|
||||
= t('contacts.index.title')
|
||||
= render 'contacts/aspect_listings'
|
||||
%hr
|
||||
- if AppConfig.settings.community_spotlight.enable?
|
||||
%hr
|
||||
.text-center.spotlight
|
||||
= link_to t('contacts.spotlight.community_spotlight'), community_spotlight_path, :class => "element_selector"
|
||||
.text-center
|
||||
.btn.btn-link{ 'data-toggle' => 'modal', 'data-target' => '#invitationsModal'}
|
||||
= t('invitations.new.invite_someone_to_join')
|
||||
= render 'shared/modal',
|
||||
:path => new_user_invitation_path,
|
||||
:id => 'invitationsModal',
|
||||
:title => t('invitations.new.invite_someone_to_join')
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@
|
|||
%p
|
||||
!= t('.no_contacts_message',
|
||||
:community_spotlight => link_to(t('.community_spotlight'), community_spotlight_path))
|
||||
%p
|
||||
.btn.btn-link{ 'data-toggle' => 'modal', 'data-target' => '#invitationsModal'}
|
||||
= t('invitations.new.invite_someone_to_join')
|
||||
|
||||
-if @aspect
|
||||
#new_conversation_pane
|
||||
|
|
|
|||
Loading…
Reference in a new issue