don't show connect to cubbies in right bar if user is already connected

This commit is contained in:
danielgrippi 2011-08-03 15:41:52 -07:00
parent e23439d193
commit 7d01deb99d

View file

@ -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