app/views/owns/index.html.erb in enju_biblio-0.1.0.pre42 vs app/views/owns/index.html.erb in enju_biblio-0.1.0.pre43
- old
+ new
@@ -2,18 +2,18 @@
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.own')) -%></h1>
<div id="content_list">
<table class="table table-striped index">
<tr>
- <th><%= t('activerecord.models.patron') -%></th>
+ <th><%= t('activerecord.models.agent') -%></th>
<th><%= t('activerecord.models.item') -%></th>
<th><%= t('activerecord.models.manifestation') -%></th>
<th></th>
</tr>
<%- @owns.each do |own| -%>
<tr class="line<%= cycle("0", "1") -%>">
- <td><%= link_to own.patron.full_name, own.patron -%></td>
+ <td><%= link_to own.agent.full_name, own.agent -%></td>
<td>
<%- if own.item.item_identifier.blank? -%>
(<%= link_to 'no number', own.item -%>)
<%- else -%>
<%= link_to own.item.item_identifier, own.item -%>