View | Details | Raw Unified | Return to bug 15952
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-17 / +30 lines)
Lines 137-148 Link Here
137
            <th>&nbsp;</th>
137
            <th>&nbsp;</th>
138
            <th>Title</th>
138
            <th>Title</th>
139
            <th>Location</th>
139
            <th>Location</th>
140
            <th>Preview</th>
140
            <th>&nbsp;</th>
141
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th>&nbsp;</th>[% ELSE %][% END %]
142
            [% IF ( CAN_user_editcatalogue_edit_items ) %]<th>&nbsp;</th>[% END %]
143
        </tr>
141
        </tr>
144
    [% FOREACH resultsloo IN resultsloop %]
142
      [% FOREACH resultsloo IN resultsloop %]
145
        <tr>
146
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
143
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
147
            <td>
144
            <td>
148
                <p>
145
                <p>
Lines 195-204 Link Here
195
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
192
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
196
                    </span>
193
                    </span>
197
                </td>
194
                </td>
198
                    <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=[% resultsloo.biblionumber %]" class="previewData">Card</a>
195
                <td>
196
                  <div class="dropdown">
197
                    <a class="btn btn-mini dropdown-toggle" id="cataloguesearchactions[% resultsloo.biblionumber %]" role="button" data-toggle="dropdown" href="#">
198
                      Actions <b class="caret"></b>
199
                    </a>
200
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% resultsloo.biblionumber %]">
201
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
202
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li>
203
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-pencil"></i> Edit biblio</a></li>[% END %]
204
                      [% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-plus"></i> Add/Edit items</a></li>[% END %]
205
                    </ul>
206
                  </div>
199
                </td>
207
                </td>
200
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %]
201
                [% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %]
202
            </tr>
208
            </tr>
203
    [% END %]
209
    [% END %]
204
    </table>
210
    </table>
Lines 223-230 Link Here
223
                <th>Date</th>
229
                <th>Date</th>
224
                <th>Edition</th>
230
                <th>Edition</th>
225
                <th>Coming from</th>
231
                <th>Coming from</th>
226
                <th>Preview</th>
232
                <th>&nbsp;</th>
227
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th>&nbsp;</th>[% END %]
228
            </tr>
233
            </tr>
229
            [% FOREACH breeding_loo IN breeding_loop %]
234
            [% FOREACH breeding_loo IN breeding_loop %]
230
               <tr>
235
               <tr>
Lines 234-245 Link Here
234
                <td>[% breeding_loo.copyrightdate %]</td>
239
                <td>[% breeding_loo.copyrightdate %]</td>
235
                <td>[% breeding_loo.edition %]</td>
240
                <td>[% breeding_loo.edition %]</td>
236
                <td>[% breeding_loo.file %]</td>
241
                <td>[% breeding_loo.file %]</td>
237
                <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.id %]" class="previewData">Card</a>
242
                <td>
238
                    </td>
243
                  <div class="dropdown">
239
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td>
244
                    <a class="btn btn-mini dropdown-toggle" id="reservoirsearchactions[% breeding_loo.id %]" role="button" data-toggle="dropdown" href="#">
240
                    <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a>
245
                      Actions <b class="caret"></b>
241
                </td>[% END %]
246
                    </a>
242
            </tr>
247
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reservoirsearchactions[% breeding_loo.id %]">
248
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
249
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li>
250
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
251
                        <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]"><i class="fa fa-plus"></i> Add biblio</a></li>
252
                      [% END %]
253
                    </ul>
254
                  </div>
255
               </td>
256
               </tr>
243
            [% END %]
257
            [% END %]
244
        </table>
258
        </table>
245
    [% ELSE %]
259
    [% ELSE %]
246
- 

Return to bug 15952