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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-15 / +14 lines)
Lines 44-57 Link Here
44
     * This function checks if the adequate number of records are checked for merging
44
     * This function checks if the adequate number of records are checked for merging
45
     */
45
     */
46
    function MergeItems() {
46
    function MergeItems() {
47
	var checkboxes = $("input:checkbox:checked");
47
     var checkboxes = $("input:checkbox:checked");
48
        var nbCheckbox = checkboxes.length;
48
        var nbCheckbox = checkboxes.length;
49
	if (nbCheckbox != 2) {
49
     if (nbCheckbox != 2) {
50
	    alert(_("Two records must be selected for merging."));
50
         alert(_("Two records must be selected for merging."));
51
	} else {
51
     } else {
52
	    location.href='/cgi-bin/koha/cataloguing/merge.pl?biblionumber=' + checkboxes[0].value + '&biblionumber=' + checkboxes[1].value;
52
         location.href='/cgi-bin/koha/cataloguing/merge.pl?biblionumber=' + checkboxes[0].value + '&biblionumber=' + checkboxes[1].value;
53
	}
53
     }
54
	return false;
54
     return false;
55
    }
55
    }
56
56
57
    //]]>
57
    //]]>
Lines 66-72 Link Here
66
<div id="doc" class="yui-t7">
66
<div id="doc" class="yui-t7">
67
67
68
   <div id="bd">
68
   <div id="bd">
69
	<div id="yui-main">
69
     <div id="yui-main">
70
70
71
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
71
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
72
  <div id="toolbar" class="btn-toolbar">
72
  <div id="toolbar" class="btn-toolbar">
Lines 95-103 Link Here
95
  </div>
95
  </div>
96
[% END %]
96
[% END %]
97
97
98
	[% IF ( noitemsfound ) %]
98
     [% IF ( noitemsfound ) %]
99
		No results found
99
          No results found
100
	[% END %]
100
     [% END %]
101
101
102
<!-- display the search results -->
102
<!-- display the search results -->
103
103
Lines 135-141 Link Here
135
                        [% ELSE %]
135
                        [% ELSE %]
136
                            &nbsp;
136
                            &nbsp;
137
                        [% END %]
137
                        [% END %]
138
			[% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %]
138
               [% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %]
139
                        [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %]
139
                        [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %]
140
                        [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %]
140
                        [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %]
141
                        [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %]
141
                        [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %]
Lines 173-179 Link Here
173
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
173
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
174
                    </span>
174
                    </span>
175
                </td>
175
                </td>
176
				<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
176
                    <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
177
                </td>
177
                </td>
178
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %]
178
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %]
179
                [% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %]
179
                [% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %]
Lines 217-223 Link Here
217
                <td>[% breeding_loo.edition %]</td>
217
                <td>[% breeding_loo.edition %]</td>
218
                <td>[% breeding_loo.file %]</td>
218
                <td>[% breeding_loo.file %]</td>
219
                <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
219
                <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">Card</a>
220
				</td>
220
                    </td>
221
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td>
221
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td>
222
                    <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a>
222
                    <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a>
223
                </td>[% END %]
223
                </td>[% END %]
224
- 

Return to bug 13886