Commit b34ba033 authored by Ted Trask's avatar Ted Trask

Cleanup displayitem call in viewcert html view

parent 10c0b646
......@@ -4,9 +4,9 @@
<% if view.value.result then %>
<% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Certificate Details"}), page_info) %>
<% htmlviewfunctions.displayitem(view.value.cert, page_info, 1) %>
<% htmlviewfunctions.displayitem(view.value.cert, page_info) %>
<pre><%= html.html_escape(view.value.result.value) %></pre>
<% htmlviewfunctions.displaysectionend(header_level) %>
<% else
htmlviewfunctions.displayitem(view, page_info, 1)
htmlviewfunctions.displayitem(view, page_info)
end %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment