Sha256: d926fad1893c1053da084984ee44232a6af13336fb1b12e42aab4d76e24b338f

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

<h3><%= t("fcrepo_admin.object.audit_trail.title") %></h3>

<p>
	<%= link_to t("fcrepo_admin.object.audit_trail.download"), "#{fcrepo_admin.audit_trail_object_path(@object)}?download=true", :class => "btn btn-primary" %>
</p>

<table class="table table-bordered table-condensed table-striped">
	<thead>
		<tr>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.id") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.process_type") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.action") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.component_id") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.responsibility") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.date") %></th>
			<th scope="col"><%= t("fcrepo_admin.object.audit_trail.record.justification") %></th>
		</tr>
	</thead>
	<tbody>
		<% @audit_trail.records.each do |record| %>
		<tr>
			<td><%= record.id %></td>
			<td><%= record.process_type %></td>
			<td><%= record.action %></td>
			<td><%= record.component_id %></td>
			<td><%= record.responsibility %></td>
			<td><%= record.date %></td>
			<td><%= record.justification %></td>
		</tr>
		<% end %>
	</tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.3.2 app/views/fcrepo_admin/objects/audit_trail.html.erb