|
Lines 97-110
Link Here
|
| 97 |
<tr> |
97 |
<tr> |
| 98 |
[% IF ( show ) %]<th> </th>[% END %] |
98 |
[% IF ( show ) %]<th> </th>[% END %] |
| 99 |
<th class="anti-the">Title</th> |
99 |
<th class="anti-the">Title</th> |
|
|
100 |
<th class="holds_count" title="Item holds / Total holds">Holds</th> |
| 100 |
[% FOREACH item_header_loo IN item_header_loop %] |
101 |
[% FOREACH item_header_loo IN item_header_loop %] |
| 101 |
<th> [% item_header_loo.header_value | html %] </th> |
102 |
<th> [% item_header_loo.header_value | html %] </th> |
| 102 |
[% END %] |
103 |
[% END %] |
| 103 |
</tr> |
104 |
</tr> |
| 104 |
</thead> |
105 |
</thead> |
| 105 |
<tbody> |
106 |
<tbody> |
| 106 |
[% FOREACH item_loo IN item_loop %] <tr> [% IF ( show ) %][% IF ( item_loo.nomod ) %] <td class="error">Cannot edit</td>[% ELSE %]<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber | html %]" id="row[% item_loo.itemnumber | html %]" checked="checked" /></td>[% END %][% END %] |
107 |
[% FOREACH item_loo IN item_loop %] |
| 107 |
<td><label for="row[% item_loo.itemnumber | html %]"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber | uri %]">[% item_loo.title | html %]</a>[% IF ( item_loo.author ) %], by [% item_loo.author | html %][% END %]</label></td> |
108 |
<tr> |
|
|
109 |
[% IF show %] |
| 110 |
[% IF item_loo.nomod %] |
| 111 |
<td class="error">Cannot edit</td> |
| 112 |
[% ELSE %] |
| 113 |
<td><input type="checkbox" name="itemnumber" value="[% item_loo.itemnumber | html %]" id="row[% item_loo.itemnumber | html %]" checked="checked" data-is-onloan="[% item_loo.onloan | html %]" /></td> |
| 114 |
[% END %] |
| 115 |
[% ELSE %] |
| 116 |
<td> </td> |
| 117 |
[% END %] |
| 118 |
<td> |
| 119 |
<label for="row[% item_loo.itemnumber | html %]"> |
| 120 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item_loo.biblionumber | uri %]"> |
| 121 |
[% item_loo.title | html %] |
| 122 |
</a> |
| 123 |
[% IF ( item_loo.author ) %], by [% item_loo.author | html %][% END %] |
| 124 |
</label> |
| 125 |
</td> |
| 126 |
<td class="holds_count"> |
| 127 |
[% IF item_loo.holds %] |
| 128 |
[% IF item_loo.item_holds %] |
| 129 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="Holds on this item: [% item_loo.item_holds | html %] / Total holds on this record: [% item_loo.holds | html -%]" > |
| 130 |
[% ELSE %] |
| 131 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this item / Total holds on this record: [% item_loo.holds | html -%]" > |
| 132 |
[% END %] |
| 133 |
[% ELSE %] |
| 134 |
[% IF item_loo.holds %] |
| 135 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="Holds on this record: [% item_loo.holds | html -%]" > |
| 136 |
[% ELSE %] |
| 137 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this record" > |
| 138 |
[% END %] |
| 139 |
[% END %] |
| 140 |
[% IF item_loo.holds %] |
| 141 |
[% item_loo.item_holds | html %]/[% item_loo.holds | html %] |
| 142 |
[% ELSE %] |
| 143 |
[% item_loo.holds | html %] |
| 144 |
[% END %] |
| 145 |
</a> |
| 146 |
</td> |
| 108 |
[% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field | html %]</td> |
147 |
[% FOREACH item_valu IN item_loo.item_value %] <td>[% item_valu.field | html %]</td> |
| 109 |
[% END %] </tr> |
148 |
[% END %] </tr> |
| 110 |
[% END %] |
149 |
[% END %] |
| 111 |
- |
|
|