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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-6 / +13 lines)
Lines 177-193 $(document).ready(function() { Link Here
177
                      <td>&nbsp;</td>
177
                      <td>&nbsp;</td>
178
                    [% ELSE %]
178
                    [% ELSE %]
179
                      <td>
179
                      <td>
180
                          <div class="dropdown">
181
                          <a class="btn btn-mini dropdown-toggle" id="itemactions[% item_loo.itemnumber %]" role="button" data-toggle="dropdown" href="#">
182
                              Actions <b class="caret"></b>
183
                          </a>
184
                          <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item_loo.itemnumber %]">
185
180
                        [% IF ( item_loo.hostitemflag ) %]
186
                        [% IF ( item_loo.hostitemflag ) %]
181
                          <a href="additem.pl?op=edititem&amp;biblionumber=[% item_loo.hostbiblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a> &nbsp; <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&amp;biblionumber=[% biblionumber %]&amp;hostitemnumber=[% item_loo.itemnumber %]">Delink</a>
187
                              <li><a href="additem.pl?op=edititem&amp;biblionumber=[% item_loo.hostbiblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a> &nbsp; <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&amp;biblionumber=[% biblionumber %]&amp;hostitemnumber=[% item_loo.itemnumber %]">Delink</a></li>
182
                        [% ELSE %]
188
                        [% ELSE %]
183
                          <a href="additem.pl?op=edititem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a>
189
                              <li><a href="additem.pl?op=edititem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a></li>
184
                          <a href="additem.pl?op=dupeitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#additema">Duplicate</a>
190
                              <li><a href="additem.pl?op=dupeitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#additema">Duplicate</a></li>
185
                          [% IF ( item_loo.countanalytics ) %]
191
                          [% IF ( item_loo.countanalytics ) %]
186
                            <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&amp;q=% item_loo.itemnumber %]">View analytics</a>
192
                              <li><a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&amp;q=% item_loo.itemnumber %]">View analytics</a></li>
187
                          [% ELSE %]
193
                          [% ELSE %]
188
                            <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]" onclick="confirm_deletion([% biblionumber %],[% item_loo.itemnumber %]); return false;">Delete</a>
194
                              <li><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]" onclick="confirm_deletion([% biblionumber %],[% item_loo.itemnumber %]); return false;">Delete</a></li>
189
                          [% END %]
195
                          [% END %]
190
                        [% END %]
196
                        [% END %]
197
                          </ul>
198
                          </div>
191
                      </td>
199
                      </td>
192
                    [% END %]
200
                    [% END %]
193
                [% FOREACH item_valu IN item_loo.item_value %]
201
                [% FOREACH item_valu IN item_loo.item_value %]
194
- 

Return to bug 7369