Maybe I'm weird, but it bugs me to see "no upcoming events." This patch makes the block disappear when there's nothing to show.

Comments

David Lesieur’s picture

+1 for the idea, but please do not comment out unwanted code -- just remove it.

killes@www.drop.org’s picture

Status: Needs review » Closed (won't fix)

I disagree, it is confusing if blocks simply disappear.

BachusII’s picture

StatusFileSize
new1.93 KB

It bugs me too, to see no upcoming events. Hence this patch.
My patch is against event-5.x-1.x-dev by the way.

I made it an option, hidden in the configure block on admin/build/block/configure/event/1.

I agree with killes that it can be confusing. But I say, let the admin figure it out himself.