don't show connect to cubbies in right bar if user is already connected
This commit is contained in:
parent
e23439d193
commit
7d01deb99d
1 changed files with 9 additions and 8 deletions
|
|
@ -3,14 +3,15 @@
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
|
|
||||||
.section
|
- unless has_connected_cubbies?
|
||||||
.title
|
.section
|
||||||
= image_tag('/images/icons/cubbies.png')
|
.title
|
||||||
%h5
|
= image_tag('/images/icons/cubbies.png')
|
||||||
= t('aspects.index.cubbies.heading')
|
%h5
|
||||||
.content
|
= t('aspects.index.cubbies.heading')
|
||||||
= t('aspects.index.cubbies.explanation')
|
.content
|
||||||
= link_to t('aspects.index.cubbies.learn_more'), token_path
|
= t('aspects.index.cubbies.explanation')
|
||||||
|
= link_to t('aspects.index.cubbies.learn_more'), token_path
|
||||||
|
|
||||||
- unless AppConfig.configured_services.blank?
|
- unless AppConfig.configured_services.blank?
|
||||||
.section
|
.section
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue