Sha256: 618597962257985374b55c18637fdf0bd4cca146b19d472316e52b95eeaf8598

Contents?: true

Size: 1.22 KB

Versions: 6

Compression:

Stored size: 1.22 KB

Contents

<h1><%= @object.pid %></h1>

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

<p>
	<%= link_to t("fcrepo_admin.audit_trail.download"), "#{fcrepo_admin.object_audit_trail_index_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

6 entries across 6 versions & 1 rubygems

Version Path
fcrepo_admin-0.3.0 app/views/fcrepo_admin/audit_trail/index.html.erb
fcrepo_admin-0.2.4 app/views/fcrepo_admin/audit_trail/index.html.erb
fcrepo_admin-0.2.3 app/views/fcrepo_admin/audit_trail/index.html.erb
fcrepo_admin-0.2.0 app/views/fcrepo_admin/audit_trail/index.html.erb
fcrepo_admin-0.1.1 app/views/fcrepo_admin/audit_trail/index.html.erb
fcrepo_admin-0.1.0 app/views/fcrepo_admin/audit_trail/index.html.erb