diff --git a/app/views/layouts/application.mobile.haml b/app/views/layouts/application.mobile.haml index 69be14a6fc260d3f9c81e028d527c4668336570c..499a83eca1f4c23dd23cd29ac77eb3bcfe311c78 100644 --- a/app/views/layouts/application.mobile.haml +++ b/app/views/layouts/application.mobile.haml @@ -87,11 +87,14 @@ = @unread_message_count - %h4 - = t('shared.invitations.invite_your_friends') - %ul{:data => {:role => 'listview', :inset => 'true'}} - %li - = link_to t('.by_email'), new_user_invitation_path + + - if AppConfig[:open_invitations] + %h4 + = t('shared.invitations.invite_your_friends') + %ul{:data => {:role => 'listview', :inset => 'true'}} + %li + = link_to t('.by_email'), new_user_invitation_path + %h4 = t('.your_aspects')