Updated Node module and theme to use the new rendering strategy.

This commit is contained in:
jvelilla
2014-11-08 06:10:43 -03:00
parent 75d34870fa
commit 730f6d42a4
3 changed files with 6 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ feature -- Hooks
perms: detachable ARRAYED_LIST [READABLE_STRING_8]
do
create lnk.make ("List of nodes", "/nodes")
a_menu_system.navigation_menu.extend (lnk)
a_menu_system.main_menu.extend (lnk)
end
end

View File

@@ -103,9 +103,9 @@ feature {NONE} -- Implementation
else
s.append ("<li class=%""+ cl + "%">")
end
-- s.append ("<a href=%"" + url (lnk.location, lnk.options) + "%">" + html_encoded (lnk.title) + "</a>")
s.append ("<a href=%"" + (lnk.location) + "%">" + html_encoded (lnk.title) + "</a>")
if
-- (lnk.is_expanded or lnk.is_collapsed) and then
(lnk.is_expanded or lnk.is_collapsed) and then
attached lnk.children as l_children
then
s.append ("<ul>%N")

View File

@@ -33,7 +33,9 @@
<!-- Page Header -->
<div id="header">
{include file="tpl/page_header2.tpl"/}
{if isset="$page.primary_nav"}
{$page.primary_nav/}
{/if}
</div>
<!-- General Page Content -->