betheluniversity / cascade

Implementing Cascade Server
2 stars 1 forks source link

Empty block bug #695

Closed emily-johnson closed 8 years ago

emily-johnson commented 8 years ago

So we are working on setting up the transportation index to be able to quickly and easily add a block saying that shuttle services are suspended. We settled on a flex page with block at the top and the main content in the section below.

The issue is that when the first section is empty (when the shuttles are running and we don't need the alert), then the second section is not displayed. Help?

Thanks!!

c-schwarze commented 8 years ago

Fixed.

It used to only check the first section of the flex page for content/blocks/etc. I believe the example you used had an empty section followed by the next section with data.

I updated the code so that it looks through all sections (not just the first one).

emily-johnson commented 8 years ago

Awesome, thanks!!

@johjacb Could you take a look at the spacing now?

c-schwarze commented 8 years ago

I got it.

c-schwarze commented 8 years ago

should be fixed. You may have to republish.