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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-17 / +35 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>
143
        [% IF ( loop.even ) %]
144
            <tr class="highlight">
145
        [% ELSE %]
146
            <tr>
147
        [% END %]
146
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
148
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber %]" name="biblionumber" value="[% resultsloo.biblionumber %]" /></td>
147
            <td>
149
            <td>
148
                <p>
150
                <p>
Lines 195-204 Link Here
195
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
197
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
196
                    </span>
198
                    </span>
197
                </td>
199
                </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>
200
                <td>
201
                  <div class="dropdown">
202
                    <a class="btn btn-mini dropdown-toggle" id="cataloguesearchactions[% resultsloo.biblionumber %]" role="button" data-toggle="dropdown" href="#">
203
                      Actions <b class="caret"></b>
204
                    </a>
205
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% resultsloo.biblionumber %]">
206
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
207
                      <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>
208
                      [% 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 %]
209
                      [% 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 %]
210
                    </ul>
211
                  </div>
199
                </td>
212
                </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>
213
            </tr>
203
    [% END %]
214
    [% END %]
204
    </table>
215
    </table>
Lines 223-230 Link Here
223
                <th>Date</th>
234
                <th>Date</th>
224
                <th>Edition</th>
235
                <th>Edition</th>
225
                <th>Coming from</th>
236
                <th>Coming from</th>
226
                <th>Preview</th>
237
                <th>&nbsp;</th>
227
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<th>&nbsp;</th>[% END %]
228
            </tr>
238
            </tr>
229
            [% FOREACH breeding_loo IN breeding_loop %]
239
            [% FOREACH breeding_loo IN breeding_loop %]
230
               <tr>
240
               <tr>
Lines 234-245 Link Here
234
                <td>[% breeding_loo.copyrightdate %]</td>
244
                <td>[% breeding_loo.copyrightdate %]</td>
235
                <td>[% breeding_loo.edition %]</td>
245
                <td>[% breeding_loo.edition %]</td>
236
                <td>[% breeding_loo.file %]</td>
246
                <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>
247
                <td>
238
                    </td>
248
                  <div class="dropdown">
239
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td>
249
                    <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>
250
                      Actions <b class="caret"></b>
241
                </td>[% END %]
251
                    </a>
242
            </tr>
252
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reservoirsearchactions[% breeding_loo.id %]">
253
                      <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>
254
                      <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>
255
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
256
                        <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]"><i class="fa fa-plus"></i> Add biblio</a></li>
257
                      [% END %]
258
                    </ul>
259
                  </div>
260
               </td>
261
               </tr>
243
            [% END %]
262
            [% END %]
244
        </table>
263
        </table>
245
    [% ELSE %]
264
    [% ELSE %]
246
- 

Return to bug 15952