added the check for open invitations
This commit is contained in:
parent
8dc1b70621
commit
3f1e8f0b6e
1 changed files with 8 additions and 5 deletions
|
|
@ -87,11 +87,14 @@
|
||||||
= @unread_message_count
|
= @unread_message_count
|
||||||
|
|
||||||
|
|
||||||
%h4
|
|
||||||
= t('shared.invitations.invite_your_friends')
|
- if AppConfig[:open_invitations]
|
||||||
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
%h4
|
||||||
%li
|
= t('shared.invitations.invite_your_friends')
|
||||||
= link_to t('.by_email'), new_user_invitation_path
|
%ul{:data => {:role => 'listview', :inset => 'true'}}
|
||||||
|
%li
|
||||||
|
= link_to t('.by_email'), new_user_invitation_path
|
||||||
|
|
||||||
%h4
|
%h4
|
||||||
= t('.your_aspects')
|
= t('.your_aspects')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue