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. -# 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