Sha256: c892a16e0ca770926a40c4731a29627d0cd28be3fd7cd5ac6337f21fc9332f99

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

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

<p>
	<%= link_to t("fcrepo_admin.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.audit_trail.record.id") %></th>
			<th scope="col"><%= t("fcrepo_admin.audit_trail.record.process_type") %></th>
			<th scope="col"><%= t("fcrepo_admin.audit_trail.record.action") %></th>
			<th scope="col"><%= t("fcrepo_admin.audit_trail.record.component_id") %></th>
			<th scope="col"><%= t("fcrepo_admin.audit_trail.record.responsibility") %></th>
			<th scope="col"><%= t("fcrepo_admin.audit_trail.record.date") %></th>
			<th scope="col"><%= t("fcrepo_admin.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.1 app/views/fcrepo_admin/objects/audit_trail.html.erb