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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-2 / +3 lines)
Lines 9-14 Link Here
9
<script type="text/javascript">
9
<script type="text/javascript">
10
//<![CDATA[
10
//<![CDATA[
11
 $(document).ready(function() {
11
 $(document).ready(function() {
12
    var MSG_CONFIRM_REOPEN = _('Are you sure you want to reopen this subscription?');
13
12
    var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
14
    var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, {
13
        "aoColumnDefs": [
15
        "aoColumnDefs": [
14
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
16
            { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false },
Lines 233-239 Link Here
233
                        </td>
235
                        </td>
234
                        <td>
236
                        <td>
235
                          [% UNLESS subscription.cannotedit %]
237
                          [% UNLESS subscription.cannotedit %]
236
                            <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&amp;op=reopen&routing=[% subscription.routing %]&amp;searched=1&amp;title_filter=[% title_filter %]&amp;ISSN_filter=[% ISSN_filter %]&amp;EAN_filter=[% EAN_filter %]&amp;published_filter=[% publisher_filter %]&amp;bookseller_filter=[% bookseller_filter %]&amp;branch_filter=[% branch_filter %]" onclick="return confirm(_('Are you sure you want to reopen this subscription?'));">Reopen</a>
238
                            <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&amp;op=reopen&routing=[% subscription.routing %]&amp;searched=1&amp;title_filter=[% title_filter %]&amp;ISSN_filter=[% ISSN_filter %]&amp;EAN_filter=[% EAN_filter %]&amp;published_filter=[% publisher_filter %]&amp;bookseller_filter=[% bookseller_filter %]&amp;branch_filter=[% branch_filter %]" onclick="return confirm(MSG_CONFIRM_REOPEN);">Reopen</a>
237
                          [% ELSE %]
239
                          [% ELSE %]
238
                            Cannot edit
240
                            Cannot edit
239
                          [% END %]
241
                          [% END %]
240
- 

Return to bug 9323