Sha256: 0456b37198b2e0ee03a58b0319fbeec626e71a2b4de29c5ceb47d10896479550

Contents?: true

Size: 1.25 KB

Versions: 7

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>
		<% @object.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

7 entries across 7 versions & 1 rubygems

Version Path
fcrepo_admin-0.5.1 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.5.0 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.4.1 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.4.0 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.3.5 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.3.4 app/views/fcrepo_admin/objects/audit_trail.html.erb
fcrepo_admin-0.3.3 app/views/fcrepo_admin/objects/audit_trail.html.erb