summaryrefslogtreecommitdiffstats
path: root/cron-listjobs-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-04 02:41:32 +0000
commitf9780f645bc94f2f79fc4e266e671d15232d4b9d (patch)
treeba25e6d23f9a89891d4a01c5d1ffe4c59718c914 /cron-listjobs-html.lsp
parentb0f4fadb7b62297b6dbd574b2a7d8eee0f990eb4 (diff)
downloadacf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.bz2
acf-alpine-baselayout-f9780f645bc94f2f79fc4e266e671d15232d4b9d.tar.xz
Change HTML views to use htmlviewfunctions.displayheader
Modified some models to change labels
Diffstat (limited to 'cron-listjobs-html.lsp')
-rw-r--r--cron-listjobs-html.lsp7
1 files changed, 5 insertions, 2 deletions
diff --git a/cron-listjobs-html.lsp b/cron-listjobs-html.lsp
index 6dd3b14..b9759d3 100644
--- a/cron-listjobs-html.lsp
+++ b/cron-listjobs-html.lsp
@@ -48,9 +48,12 @@ local function createmoveform(name)
end
%>
-<h1>Cron Jobs</h1>
+<%
+local header_level = htmlviewfunctions.displayheader(view, page_info)
+header_level = htmlviewfunctions.incrementheader(header_level)
+%>
<% for i,tabl in ipairs(view.value) do %>
-<h2><%= html.html_escape(tabl.period) %></h2>
+<% htmlviewfunctions.displayheader(cfe({label=tabl.period}), page_info, header_level) %>
<% if #tabl.jobs == 0 then %>
<p>No jobs</p>
<% else %>