diff options
Diffstat (limited to 'weblog-viewactivitylog-html.lsp')
-rw-r--r-- | weblog-viewactivitylog-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weblog-viewactivitylog-html.lsp b/weblog-viewactivitylog-html.lsp index f7fb0ba..f1a9171 100644 --- a/weblog-viewactivitylog-html.lsp +++ b/weblog-viewactivitylog-html.lsp @@ -22,7 +22,7 @@ <% local subdata, pagedata = htmlviewfunctions.paginate(data.value, page_info.clientdata, 100) %> -<h1><%= html.html_escape(data.label) %></h1> +<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %> <% htmlviewfunctions.displaypagination(pagedata, page_info) %> <table id="activity" class="tablesorter"><thead> <tr> @@ -38,9 +38,9 @@ <% end %> </tbody></table> -<% if data.errtxt then %> -<p class='error'><%= html.html_escape(data.errtxt) %></p> -<% end %> <% if #data.value == 0 then %> <p>No history found</p> <% end %> +<% htmlviewfunctions.displayinfo(data) %> + +<% htmlviewfunctions.displaysectionend(header_level) %> |