Added support for block options for the feed aggregator blocks.

Updated weight for primary_tabs block.
This commit is contained in:
2015-10-17 00:17:59 +02:00
parent 23c395513b
commit 62bf58ce6d
2 changed files with 21 additions and 11 deletions

View File

@@ -786,16 +786,6 @@ feature -- Blocks
end
end
primary_tabs_block: detachable CMS_MENU_BLOCK
do
if attached primary_tabs as m and then not m.is_empty then
create Result.make (m)
Result.is_horizontal := True
Result.set_is_raw (True)
Result.add_css_class ("tabs")
end
end
top_header_block: CMS_CONTENT_BLOCK
local
s: STRING
@@ -846,7 +836,18 @@ feature -- Blocks
if attached message as m and then not m.is_empty then
create Result.make ("message", Void, "<div id=%"message%">" + m + "</div>", Void)
Result.set_is_raw (True)
Result.set_weight (-3)
end
end
primary_tabs_block: detachable CMS_MENU_BLOCK
do
if attached primary_tabs as m and then not m.is_empty then
create Result.make (m)
Result.is_horizontal := True
Result.set_is_raw (True)
Result.set_weight (-2)
Result.add_css_class ("tabs")
end
end