Updated two scopes to no longer be read-only (default stance is to make joins read only), however this breaks intended purpose
23 lines
580 B
Plaintext
23 lines
580 B
Plaintext
<p>
|
|
<table class="display access-table list">
|
|
<thead>
|
|
<tr>
|
|
<th><%=l(:field_user)%></th>
|
|
<th><%=l(:heading_access_downloads_emails)%></th>
|
|
<th><%=l(:heading_access_first)%></th>
|
|
<th><%=l(:heading_access_last)%></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% revision.access_grouped.each do |access| %>
|
|
<tr>
|
|
<td><%=link_to_user(access.user)%></td>
|
|
<td><%=access["count"]%></td>
|
|
<td><%=format_time(DmsfHelper::to_time(access.first_at))%></td>
|
|
<td><%=format_time(DmsfHelper::to_time(access.last_at))%></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</p>
|