Added end of navbar items

This commit is contained in:
MatteoBiscosi 2022-08-22 17:31:38 +02:00
parent 7512a93eff
commit 94fb01d2f8
2 changed files with 39 additions and 2 deletions

View file

@ -444,7 +444,7 @@ function page_utils.get_navbar_context(title, base_url, items_table, label_url,
end
-- #################################
function page_utils.print_navbar(title, base_url, items_table, label_url, back_url)
function page_utils.print_navbar(title, base_url, items_table, label_url, back_url, end_items)
local help_link = page_utils.menu_entries[active_entry].help_link or nil
local icon = page_utils.menu_sections[active_section].icon or ""
@ -455,7 +455,8 @@ function page_utils.print_navbar(title, base_url, items_table, label_url, back_u
items_table = items_table,
label_url = label_url,
back_url = back_url,
help_link = help_link
help_link = help_link,
end_items = end_items
}
}
print(template_utils.gen("pages/components/page-navbar.template", context))