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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc (-9 / +7 lines)
Lines 31-44 Link Here
31
                    [% END %]
31
                    [% END %]
32
32
33
                    <td class="recall-title">
33
                    <td class="recall-title">
34
                        <b><a class="recall-title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% recall.biblio_id | html %]">
34
                        [% INCLUDE 'biblio-title.inc' biblio=recall.biblio link=1 %]
35
                            [% recall.biblio.title | html %]
35
                        [% IF recall.biblio.author %] by [% recall.biblio.author | html %][% END %]
36
                            [% FOREACH s IN recall.biblio.subtitle %]
36
                        [% recall.item.enumchron | html %]
37
                                [% s | html %]
37
                        [% IF ( recall.item ) %]<br><em>Barcode: [% recall.item.barcode | html %]</em>[% END %]
38
                            [% END %]
39
                        </a></b>
40
                        [% IF recall.item %][% recall.item.barcode | html %][% END %]
41
                        [% recall.biblio.author | html %]
42
                    </td>
38
                    </td>
43
39
44
                    [% UNLESS specific_patron %]
40
                    [% UNLESS specific_patron %]
Lines 101-107 Link Here
101
                            &nbsp;
97
                            &nbsp;
102
                        [% ELSE %]
98
                        [% ELSE %]
103
                            <div class="btn-group">
99
                            <div class="btn-group">
104
                                <a class="btn btn-sm dropdown-toggle" data-toggle="dropdown" href="#"> Actions <span class="caret"></span></a>
100
                                <button type="button" class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
101
                                    Actions <span class="caret"></span>
102
                                </button>
105
                                <ul class="dropdown-menu pull-right">
103
                                <ul class="dropdown-menu pull-right">
106
                                    [% IF ( recall.requested or recall.overdue ) %]
104
                                    [% IF ( recall.requested or recall.overdue ) %]
107
                                        <li><a class="cancel_recall" data-id="[% recall.id | html %]" data-action="cancel"><i class="fa fa-times"></i> Cancel</a></li>
105
                                        <li><a class="cancel_recall" data-id="[% recall.id | html %]" data-action="cancel"><i class="fa fa-times"></i> Cancel</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_old_queue.tt (-6 / +13 lines)
Lines 12-22 Link Here
12
    [% INCLUDE 'cat-search.inc' %]
12
    [% INCLUDE 'cat-search.inc' %]
13
[% END %]
13
[% END %]
14
14
15
<div id="breadcrumbs">
15
[% WRAPPER 'sub-header.inc' %]
16
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
    [% WRAPPER breadcrumbs %]
17
    &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17
        [% WRAPPER breadcrumb_item %]
18
    &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_old_queue.pl">Old recalls</a>
18
            <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
19
</div>
19
        [% END %]
20
        [% WRAPPER breadcrumb_item bc_active= 1 %]
21
            <span>Old recalls</span>
22
        [% END %]
23
    [% END #/ WRAPPER breadcrumbs %]
24
[% END #/ WRAPPER sub-header.inc %]
20
25
21
<div class="main container-fluid">
26
<div class="main container-fluid">
22
    <div class="row">
27
    <div class="row">
Lines 29-35 Link Here
29
34
30
        <h1>Old recalls</h1>
35
        <h1>Old recalls</h1>
31
        [% IF Koha.Preference('UseRecalls') %]
36
        [% IF Koha.Preference('UseRecalls') %]
32
            [% INCLUDE 'recalls.inc' %]
37
            <div class="page-section">
38
                [% INCLUDE 'recalls.inc' %]
39
            </div> <!-- /.page-section -->
33
        [% ELSE %]
40
        [% ELSE %]
34
            <div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div>
41
            <div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div>
35
        [% END %]
42
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_overdue.tt (-13 / +20 lines)
Lines 12-22 Link Here
12
    [% INCLUDE 'cat-search.inc' %]
12
    [% INCLUDE 'cat-search.inc' %]
13
[% END %]
13
[% END %]
14
14
15
<div id="breadcrumbs">
15
[% WRAPPER 'sub-header.inc' %]
16
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
    [% WRAPPER breadcrumbs %]
17
    &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17
        [% WRAPPER breadcrumb_item %]
18
    &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_overdue.pl">Overdue recalls</a>
18
            <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
19
</div>
19
        [% END %]
20
        [% WRAPPER breadcrumb_item bc_active= 1 %]
21
            <span>Overdue recalls</span>
22
        [% END %]
23
    [% END #/ WRAPPER breadcrumbs %]
24
[% END #/ WRAPPER sub-header.inc %]
20
25
21
<div class="main container-fluid">
26
<div class="main container-fluid">
22
    <div class="row">
27
    <div class="row">
Lines 30-43 Link Here
30
        <h1>Overdue recalls</h1>
35
        <h1>Overdue recalls</h1>
31
        [% IF Koha.Preference('UseRecalls') %]
36
        [% IF Koha.Preference('UseRecalls') %]
32
            [% IF recalls.count %]
37
            [% IF recalls.count %]
33
                <form method="post" action="/cgi-bin/koha/recalls/recalls_overdue.pl">
38
                <div class="page-section">
34
                    <input type="hidden" name="op" value="cancel_multiple_recalls">
39
                    <form method="post" action="/cgi-bin/koha/recalls/recalls_overdue.pl">
35
                    <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
40
                        <input type="hidden" name="op" value="cancel_multiple_recalls">
36
                    [% INCLUDE 'recalls.inc' %]
41
                        <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
37
                    <fieldset class="action">
42
                        [% INCLUDE 'recalls.inc' %]
38
                        <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
43
                        <fieldset class="action">
39
                    </fieldset>
44
                            <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
40
                </form>
45
                        </fieldset>
46
                    </form>
47
                </div> <!-- /.page-section -->
41
            [% ELSE %]
48
            [% ELSE %]
42
                <div class="dialog message">There are no recalls to show.</div>
49
                <div class="dialog message">There are no recalls to show.</div>
43
            [% END %]
50
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_queue.tt (-13 / +20 lines)
Lines 12-22 Link Here
12
    [% INCLUDE 'cat-search.inc' %]
12
    [% INCLUDE 'cat-search.inc' %]
13
[% END %]
13
[% END %]
14
14
15
<div id="breadcrumbs">
15
[% WRAPPER 'sub-header.inc' %]
16
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
    [% WRAPPER breadcrumbs %]
17
    &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17
        [% WRAPPER breadcrumb_item %]
18
    &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_queue.pl">Recalls queue</a>
18
            <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
19
</div>
19
        [% END %]
20
        [% WRAPPER breadcrumb_item bc_active= 1 %]
21
            <span>Recalls queue</span>
22
        [% END %]
23
    [% END #/ WRAPPER breadcrumbs %]
24
[% END #/ WRAPPER sub-header.inc %]
20
25
21
<div class="main container-fluid">
26
<div class="main container-fluid">
22
    <div class="row">
27
    <div class="row">
Lines 30-43 Link Here
30
        <h1>Recalls queue</h1>
35
        <h1>Recalls queue</h1>
31
        [% IF Koha.Preference('UseRecalls') %]
36
        [% IF Koha.Preference('UseRecalls') %]
32
            [% IF recalls.count %]
37
            [% IF recalls.count %]
33
                <form method="post" action="/cgi-bin/koha/recalls/recalls_queue.pl">
38
                <div class="page-section">
34
                    <input type="hidden" name="op" value="cancel_multiple_recalls">
39
                    <form method="post" action="/cgi-bin/koha/recalls/recalls_queue.pl">
35
                    <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
40
                        <input type="hidden" name="op" value="cancel_multiple_recalls">
36
                    [% INCLUDE 'recalls.inc' %]
41
                        <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
37
                    <fieldset class="action">
42
                        [% INCLUDE 'recalls.inc' %]
38
                        <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
43
                        <fieldset class="action">
39
                    </fieldset>
44
                            <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
40
                </form>
45
                        </fieldset>
46
                    </form>
47
                </div> <!-- /.page-section -->
41
            [% ELSE %]
48
            [% ELSE %]
42
                <div class="dialog message">There are no recalls to show.</div>
49
                <div class="dialog message">There are no recalls to show.</div>
43
            [% END %]
50
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_to_pull.tt (-100 / +107 lines)
Lines 15-25 Link Here
15
    [% INCLUDE 'cat-search.inc' %]
15
    [% INCLUDE 'cat-search.inc' %]
16
[% END %]
16
[% END %]
17
17
18
<div id="breadcrumbs">
18
[% WRAPPER 'sub-header.inc' %]
19
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19
    [% WRAPPER breadcrumbs %]
20
    &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
20
        [% WRAPPER breadcrumb_item %]
21
    &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_to_pull.pl">Recalls to pull</a>
21
            <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
22
</div>
22
        [% END %]
23
        [% WRAPPER breadcrumb_item bc_active= 1 %]
24
            <span>Recalls to pull</span>
25
        [% END %]
26
    [% END #/ WRAPPER breadcrumbs %]
27
[% END #/ WRAPPER sub-header.inc %]
23
28
24
<div class="main container-fluid">
29
<div class="main container-fluid">
25
    <div class="row">
30
    <div class="row">
Lines 34-134 Link Here
34
        The following recalls could be fulfilled by available items.
39
        The following recalls could be fulfilled by available items.
35
40
36
        [% IF Koha.Preference('UseRecalls') %]
41
        [% IF Koha.Preference('UseRecalls') %]
37
            <div id="recalls">
42
            [% IF recalls %]
38
                [% IF recalls %]
43
                <div id="recalls" class="page-section">
39
                <table id="recalls-table">
44
                    <table id="recalls-table">
40
                    <thead>
45
                        <thead>
41
                        <tr>
46
                            <tr>
42
                            <th class="recall-topull">Pull this many items</th>
47
                                <th class="recall-topull">Pull this many items</th>
43
                            <th class="recall-items">Items available</th>
48
                                <th class="recall-items">Items available</th>
44
                            <th class="recall-patrons">Patrons with recalls</th>
49
                                <th class="recall-patrons">Patrons with recalls</th>
45
                            <th class="recall-firstpatron">First patron</th>
50
                                <th class="recall-firstpatron">First patron</th>
46
                            <th class="recall-title anti-the">Title</th>
51
                                <th class="recall-title anti-the">Title</th>
47
                            <th class="recall-libraries">Libraries</th>
52
                                <th class="recall-libraries">Libraries</th>
48
                            <th class="recall-callnumbers">Available call numbers</th>
53
                                <th class="recall-callnumbers">Available call numbers</th>
49
                            <th class="recall-copynumbers">Available copy numbers</th>
54
                                <th class="recall-copynumbers">Available copy numbers</th>
50
                            <th class="recall-enumeration">Available enumeration</th>
55
                                <th class="recall-enumeration">Available enumeration</th>
51
                            <th class="recall-itemtypes">Available item types</th>
56
                                <th class="recall-itemtypes">Available item types</th>
52
                            <th class="recall-locations">Available locations</th>
57
                                <th class="recall-locations">Available locations</th>
53
                            <th class="recall-date title-string">Earliest recall date</th>
58
                                <th class="recall-date title-string">Earliest recall date</th>
54
                            <th class="recall-action nosort">&nbsp;</th>
59
                                <th class="recall-action nosort">&nbsp;</th>
55
                        </tr>
60
                            </tr>
56
                    </thead>
61
                        </thead>
57
                    <tbody>
62
                        <tbody>
58
                        [% FOREACH recall IN recalls %]
63
                            [% FOREACH recall IN recalls %]
59
                        <tr>
64
                            <tr>
60
                            <td class="recall-topull"><b>[% recall.pull_count | html %]</b></td>
65
                                <td class="recall-topull"><b>[% recall.pull_count | html %]</b></td>
61
                            <td class="recall-items">[% recall.items_count | html %]</td>
66
                                <td class="recall-items">[% recall.items_count | html %]</td>
62
                            <td class="recall-patrons">[% recall.patrons_count | html %]</td>
67
                                <td class="recall-patrons">[% recall.patrons_count | html %]</td>
63
                            <td class="recall-firstpatron"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.first_recall.patron_id | uri %]">[% recall.first_recall.patron.firstname | html %] [% recall.first_recall.patron.surname | html %]</a></td>
68
                                <td class="recall-firstpatron"><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.first_recall.patron_id | uri %]">[% recall.first_recall.patron.firstname | html %] [% recall.first_recall.patron.surname | html %]</a></td>
64
                            <td class="recall-title">
69
                                <td class="recall-title">
65
                                [% INCLUDE 'biblio-title.inc' biblio=recall.first_recall.biblio link=1 %]
70
                                    [% INCLUDE 'biblio-title.inc' biblio=recall.first_recall.biblio link=1 %]
66
                                [% IF recall.first_recall.biblio.author %] by [% recall.first_recall.biblio.author | html %][% END %]
71
                                    [% IF recall.biblio.author %] by [% recall.biblio.author | html %][% END %]
67
                            </td>
72
                                    [% recall.item.enumchron | html %]
68
                            <td class="recall-libraries">
73
                                    [% IF ( recall.item ) %]<br><em>Barcode: [% recall.item.barcode | html %]</em>[% END %]
69
                                <ul>
74
                                </td>
70
                                    [% FOREACH library IN recall.libraries %]
75
                                <td class="recall-libraries">
71
                                        <li>[% Branches.GetName( library ) | html %]</li>
76
                                    <ul>
72
                                    [% END %]
77
                                        [% FOREACH library IN recall.libraries %]
73
                                </ul>
78
                                            <li>[% Branches.GetName( library ) | html %]</li>
74
                            </td>
79
                                        [% END %]
75
                            <td class="recall-callnumbers">
80
                                    </ul>
76
                                <ul>
81
                                </td>
77
                                    [% FOREACH callnumber IN recall.callnumbers %]
82
                                <td class="recall-callnumbers">
78
                                        <li>[% callnumber | html %]</li>
83
                                    <ul>
79
                                    [% END %]
84
                                        [% FOREACH callnumber IN recall.callnumbers %]
80
                                </ul>
85
                                            <li>[% callnumber | html %]</li>
81
                            </td>
86
                                        [% END %]
82
                            <td class="recall-copynumbers">
87
                                    </ul>
83
                                <ul>
88
                                </td>
84
                                    [% FOREACH copyno IN recall.copynumbers %]
89
                                <td class="recall-copynumbers">
85
                                        <li>[% copyno | html %]</li>
90
                                    <ul>
86
                                    [% END %]
91
                                        [% FOREACH copyno IN recall.copynumbers %]
87
                                </ul>
92
                                            <li>[% copyno | html %]</li>
88
                            </td>
93
                                        [% END %]
89
                            <td class="recall-enumeration">
94
                                    </ul>
90
                                <ul>
95
                                </td>
91
                                    [% FOREACH enumchron IN recall.enumchrons %]
96
                                <td class="recall-enumeration">
92
                                        <li>[% enumchron | html %]</li>
97
                                    <ul>
93
                                    [% END %]
98
                                        [% FOREACH enumchron IN recall.enumchrons %]
94
                                </ul>
99
                                            <li>[% enumchron | html %]</li>
95
                            </td>
100
                                        [% END %]
96
                            <td class="recall-itemtypes">
101
                                    </ul>
97
                                <ul>
102
                                </td>
98
                                    [% FOREACH itemtype IN recall.itemtypes %]
103
                                <td class="recall-itemtypes">
99
                                        <li>[% ItemTypes.GetDescription( itemtype ) | html %]</li>
104
                                    <ul>
100
                                    [% END %]
105
                                        [% FOREACH itemtype IN recall.itemtypes %]
101
                                </ul>
106
                                            <li>[% ItemTypes.GetDescription( itemtype ) | html %]</li>
102
                            </td>
107
                                        [% END %]
103
                            <td class="recall-locations">
108
                                    </ul>
104
                                <ul>
109
                                </td>
105
                                    [% FOREACH loc IN recall.locations %]
110
                                <td class="recall-locations">
106
                                        <li>[% AuthorisedValues.GetByCode('LOC', loc) | html %]</li>
111
                                    <ul>
107
                                    [% END %]
112
                                        [% FOREACH loc IN recall.locations %]
108
                                </ul>
113
                                            <li>[% AuthorisedValues.GetByCode('LOC', loc) | html %]</li>
109
                            </td>
114
                                        [% END %]
110
                            <td class="recall-date">
115
                                    </ul>
111
                                <span title="[% recall.first_recall.created_date | html %]">[% recall.first_recall.created_date | $KohaDates %] in [% recall.first_recall.library.branchname | html %]</span>
116
                                </td>
112
                            </td>
117
                                <td class="recall-date">
113
                            <td class="recall-action">
118
                                    <span title="[% recall.first_recall.created_date | html %]">[% recall.first_recall.created_date | $KohaDates %] in [% recall.first_recall.library.branchname | html %]</span>
114
                                <form action="/cgi-bin/koha/recalls/recalls_to_pull.pl" method="post">
119
                                </td>
115
                                    <input type="hidden" name="recall_id" value="[% recall.first_recall.id | html %]">
120
                                <td class="recall-action">
116
                                    <input type="hidden" name="op" value="cancel">
121
                                    <form action="/cgi-bin/koha/recalls/recalls_to_pull.pl" method="post">
117
                                    [% IF recall.first_recall.in_transit %]
122
                                        <input type="hidden" name="recall_id" value="[% recall.first_recall.id | html %]">
118
                                        <button type="submit" class="btn btn-default cancelreturn"><i class="fa fa-times"></i> Cancel recall and return to: [% Branches.GetName(recall.first_recall.item.homebranch) | html %]</button>
123
                                        <input type="hidden" name="op" value="cancel">
119
                                    [% ELSE %]
124
                                        [% IF recall.first_recall.in_transit %]
120
                                        <button type="submit" class="btn btn-default cancel"><i class="fa fa-times"></i> Cancel recall</button>
125
                                            <button type="submit" class="btn btn-default btn-sm cancelreturn"><i class="fa fa-times"></i> Cancel recall and return to: [% Branches.GetName(recall.first_recall.item.homebranch) | html %]</button>
121
                                    [% END %]
126
                                        [% ELSE %]
122
                                </form>
127
                                            <button type="submit" class="btn btn-default btn-sm cancel"><i class="fa fa-times"></i> Cancel recall</button>
123
                            </td>
128
                                        [% END %]
124
                        </tr>
129
                                    </form>
125
                        [% END %]
130
                                </td>
126
                    </tbody>
131
                            </tr>
127
                </table>
132
                            [% END %]
128
                [% ELSE %]
133
                        </tbody>
129
                    <div class="dialog message">There are no recalls to pull.</div>
134
                    </table>
130
                [% END %]
135
                </div> <!-- /#recalls.page-section -->
131
            </div>
136
            [% ELSE %]
137
                <div class="dialog message">There are no recalls to pull.</div>
138
            [% END %]
132
        [% ELSE %]
139
        [% ELSE %]
133
            <div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div>
140
            <div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div>
134
        [% END %]
141
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt (-18 / +18 lines)
Lines 12-22 Link Here
12
    [% INCLUDE 'cat-search.inc' %]
12
    [% INCLUDE 'cat-search.inc' %]
13
[% END %]
13
[% END %]
14
14
15
<div id="breadcrumbs">
15
[% WRAPPER 'sub-header.inc' %]
16
    <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
    [% WRAPPER breadcrumbs %]
17
    &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17
        [% WRAPPER breadcrumb_item %]
18
    &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_waiting.pl">Recalls awaiting pickup</a>
18
            <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
19
</div>
19
        [% END %]
20
        [% WRAPPER breadcrumb_item bc_active= 1 %]
21
            <span>Recalls awaiting pickup</span>
22
        [% END %]
23
    [% END #/ WRAPPER breadcrumbs %]
24
[% END #/ WRAPPER sub-header.inc %]
20
25
21
<div class="main container-fluid">
26
<div class="main container-fluid">
22
    <div class="row">
27
    <div class="row">
Lines 76-83 Link Here
76
                                                    <input type="hidden" name="recall_id" value="[% recall.id | html %]">
81
                                                    <input type="hidden" name="recall_id" value="[% recall.id | html %]">
77
                                                    <input type="hidden" name="op" value="modify">
82
                                                    <input type="hidden" name="op" value="modify">
78
                                                    <fieldset class="action">
83
                                                    <fieldset class="action">
79
                                                        <input type="submit" name="revert" class="revert_recall" value="Revert waiting status">
84
                                                        <button type="submit" name="revert" value="revert" class="btn btn-default btn-sm revert_recall"><i class="fa fa-undo"></i> Revert waiting status</button>
80
                                                        <input type="submit" name="expire" class="expire_recall" value="Expire recall">
85
                                                        <button type="submit" name="expire" value="expire" class="btn btn-default btn-sm expire_recall"><i class="fa fa-undo"></i> Expire recall</button>
81
                                                    </fieldset>
86
                                                    </fieldset>
82
                                                </form>
87
                                                </form>
83
                                            </td>
88
                                            </td>
Lines 104-118 Link Here
104
                                        [% FOREACH recall IN over %]<tr>
109
                                        [% FOREACH recall IN over %]<tr>
105
                                            <td class="recall-waitingdate">[% recall.waiting_date | $KohaDates %]</td>
110
                                            <td class="recall-waitingdate">[% recall.waiting_date | $KohaDates %]</td>
106
                                            <td class="recall-title">
111
                                            <td class="recall-title">
107
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% recall.biblio_id | uri %]">
112
                                                [% INCLUDE 'biblio-title.inc' biblio=recall.biblio link = 1 %]
108
                                                    [% recall.biblio.title | html %]
113
                                                [% IF recall.biblio.author %] by [% recall.biblio.author | html %][% END %]
109
                                                    [% FOREACH s IN recall.biblio.subtitles %]
114
                                                [% recall.item.enumchron | html %]
110
                                                        [% s | html %]
115
                                                [% IF ( recall.item.barcode ) %]<br><em>Barcode: [% recall.item.barcode | html %]</em>[% END %]
111
                                                    [% END %]
112
                                                    [% recall.item.enumchron | html %]
113
                                                </a>
114
                                                [% recall.biblio.author | html %]
115
                                                <br><i>Barcode: [% recall.item.barcode | html %]</i>
116
                                            </td>
116
                                            </td>
117
                                            <td class="recall-patron">
117
                                            <td class="recall-patron">
118
                                                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.patron_id | uri %]">[% recall.patron.firstname | html %] [% recall.patron.surname | html %]</a>
118
                                                <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.patron_id | uri %]">[% recall.patron.firstname | html %] [% recall.patron.surname | html %]</a>
Lines 125-132 Link Here
125
                                                    <input type="hidden" name="recall_id" value="[% recall.id | html %]">
125
                                                    <input type="hidden" name="recall_id" value="[% recall.id | html %]">
126
                                                    <input type="hidden" name="op" value="modify">
126
                                                    <input type="hidden" name="op" value="modify">
127
                                                    <fieldset class="action">
127
                                                    <fieldset class="action">
128
                                                        <input type="submit" name="revert" class="revert_recall" value="Revert waiting status">
128
                                                        <button type="submit" name="revert" value="revert" class="btn btn-default btn-sm revert_recall"><i class="fa fa-undo"></i> Revert waiting status</button>
129
                                                        <input type="submit" name="expire" class="expire_recall" value="Expire recall">
129
                                                        <button type="submit" name="expire" value="expire" class="btn btn-default btn-sm expire_recall"><i class="fa fa-undo"></i> Expire recall</button>
130
                                                    </fieldset>
130
                                                    </fieldset>
131
                                                </form>
131
                                                </form>
132
                                            </td>
132
                                            </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt (-17 / +25 lines)
Lines 4-10 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Confirm recalls &rsaquo; Recalls &rsaquo; Koha</title>
7
<title>Existing recalls &rsaquo; Recalls &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
9
</head>
10
<body id="recalls-request" class="catalog">
10
<body id="recalls-request" class="catalog">
Lines 12-23 Link Here
12
    [% INCLUDE 'circ-search.inc' %]
12
    [% INCLUDE 'circ-search.inc' %]
13
[% END %]
13
[% END %]
14
14
15
<div id="breadcrumbs">
15
[% WRAPPER 'sub-header.inc' %]
16
    <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
16
    [% WRAPPER breadcrumbs %]
17
    <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
17
        [% WRAPPER breadcrumb_item %]
18
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a> &rsaquo;
18
            <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
19
    Confirm recalls on [% biblio.title | html %]
19
        [% END %]
20
</div>
20
        [% WRAPPER breadcrumb_item %]
21
            [% INCLUDE 'biblio-title.inc' link = 1 %]
22
        [% END %]
23
        [% WRAPPER breadcrumb_item bc_active= 1 %]
24
            <span>Existing recalls</span>
25
        [% END %]
26
    [% END #/ WRAPPER breadcrumbs %]
27
[% END #/ WRAPPER sub-header.inc %]
21
28
22
<div class="main container-fluid">
29
<div class="main container-fluid">
23
<div class="row">
30
<div class="row">
Lines 28-42 Link Here
28
35
29
    [% IF Koha.Preference('UseRecalls') %]
36
    [% IF Koha.Preference('UseRecalls') %]
30
        [% IF recalls.count %]
37
        [% IF recalls.count %]
31
            <form method="post" action="/cgi-bin/koha/recalls/request.pl">
38
            <div class="page-section">
32
                <input type="hidden" name="op" value="cancel_multiple_recalls">
39
                <form method="post" action="/cgi-bin/koha/recalls/request.pl">
33
                <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]">
40
                    <input type="hidden" name="op" value="cancel_multiple_recalls">
34
                <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
41
                    <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]">
35
                [% INCLUDE 'recalls.inc' %]
42
                    <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
36
                <fieldset class="action">
43
                    [% INCLUDE 'recalls.inc' %]
37
                    <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
44
                    <fieldset class="action">
38
                </fieldset>
45
                        <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
39
            </form>
46
                    </fieldset>
47
                </form>
48
            </div> <!-- /.page-section -->
40
        [% ELSE %]
49
        [% ELSE %]
41
            <div class="dialog message">No recalls have been made.</div>
50
            <div class="dialog message">No recalls have been made.</div>
42
        [% END %]
51
        [% END %]
43
- 

Return to bug 34010