Add printNotes and fix table.merge on positional tables

This commit is contained in:
emanuele-f 2019-01-16 18:45:06 +01:00
parent 3970e8cafe
commit d20760327f
2 changed files with 28 additions and 4 deletions

View file

@ -503,6 +503,18 @@ end
-- ########################################################
function printNotes(notes_items)
print("<b>" .. i18n("notes").. "</b><ul>")
for _, note in ipairs(notes_items) do
print("<li>" ..note .. "</li>")
end
print("</ul>")
end
-- ########################################################
function drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selectedEpoch, options)
local debug_rrd = false
options = options or {}