diff --git a/app/views/audits/show.html.erb b/app/views/audits/show.html.erb index ba6d1e67205..800e2707bf3 100644 --- a/app/views/audits/show.html.erb +++ b/app/views/audits/show.html.erb @@ -26,6 +26,31 @@ <% end %>
+
+

<%= _("Audit Metadata:") %>

+
+
+ <%= _("Audit Time:")%> +
<%= date_time_absolute(@audit.created_at) %>
+
+
+ <%= _("User Name:")%> +
<%= @audit.username %>
+
+ <% if Taxonomy.organizations_enabled %> +
+ <%= _("Affected Organizations:")%> +
<%= @audit.organizations.authorized(:view_organizations).to_sentence %>
+
+ <% end %> + <% if Taxonomy.locations_enabled %> +
+ <%= _("Affected Locations:")%> +
<%= @audit.locations.authorized(:view_locations).to_sentence %>
+
+ <% end %> +
+

<%= _("Changes:") %>

<% if @audit.audited_changes.key?("template") && @audit.audited_changes.size == 1 %> <%= alert :class => 'alert-info', :header => _('There are no changes'), :text => _(' in the provisioning template.') %>