diff --git a/app/views/shared/_right_sections.html.haml b/app/views/shared/_right_sections.html.haml index 6f1641e78..891cb510f 100644 --- a/app/views/shared/_right_sections.html.haml +++ b/app/views/shared/_right_sections.html.haml @@ -3,14 +3,15 @@ -# the COPYRIGHT file. -.section - .title - = image_tag('/images/icons/cubbies.png') - %h5 - = t('aspects.index.cubbies.heading') - .content - = t('aspects.index.cubbies.explanation') - = link_to t('aspects.index.cubbies.learn_more'), token_path +- unless has_connected_cubbies? + .section + .title + = image_tag('/images/icons/cubbies.png') + %h5 + = t('aspects.index.cubbies.heading') + .content + = t('aspects.index.cubbies.explanation') + = link_to t('aspects.index.cubbies.learn_more'), token_path - unless AppConfig.configured_services.blank? .section