mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Improve profile status rendering in html2 reporter
Signed-off-by: James Stocks <jstocks@chef.io>
This commit is contained in:
parent
833aac3ef1
commit
cd077a1247
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
|||
<% if profile.summary %>
|
||||
<tr class="profile-summary"><th>Summary:</th><td><%= profile.summary %></td></tr>
|
||||
<% end %>
|
||||
<% if profile.status_message %>
|
||||
<% if profile.status != "loaded" %>
|
||||
<tr class="profile-status"><th>Status:</th><td><%= profile.status %></td></tr>
|
||||
<% end %>
|
||||
<% if profile.status_message && !profile.status_message.empty? %>
|
||||
<tr class="profile-status-message"><th>Status Message:</th><td><%= profile.status_message %></td></tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue