Do not include empty blocks, this way, we avoid empty sidebars if not needed.

This commit is contained in:
2015-08-18 10:58:31 +02:00
parent b5e7d5d201
commit cfec9dc7f8
6 changed files with 60 additions and 8 deletions

View File

@@ -23,7 +23,12 @@ feature -- Access
html_options: detachable CMS_HTML_OPTIONS
-- Optional addition html options.
feature -- status report
feature -- Status report
is_empty: BOOLEAN
-- Is current block empty?
deferred
end
is_enabled: BOOLEAN
-- Is current block enabled?
@@ -93,4 +98,7 @@ feature -- Status report
end
end
note
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
end