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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-17 / +23 lines)
Lines 17-23 Link Here
17
        <th>Pickup library</th>
17
        <th>Pickup library</th>
18
        <th>Details</th>
18
        <th>Details</th>
19
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
19
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
20
            <th><img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Toggle set to lowest priority" /></th>
20
            <th>
21
                <i class="fa fa-lg fa-rotate-90 fa-fast-forward" title="Toggle set to lowest priority"></i>
22
            </th>
21
        [% END %]
23
        [% END %]
22
        <th>&nbsp;</th>
24
        <th>&nbsp;</th>
23
        <th>&nbsp;</th>
25
        <th>&nbsp;</th>
Lines 86-102 Link Here
86
                    [%- SET prev_priority  = loop.prev.priority -%]
88
                    [%- SET prev_priority  = loop.prev.priority -%]
87
                    [%- SET next_priority  = loop.next.priority -%]
89
                    [%- SET next_priority  = loop.next.priority -%]
88
                    <td style="white-space:nowrap;">
90
                    <td style="white-space:nowrap;">
89
                        <a title="Move hold up" href="request.pl?action=move&amp;where=up&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
91
                        <a class="hold-arrow" title="Move hold up" href="request.pl?action=move&amp;where=up&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
90
                            <img src="[% interface | html %]/[% theme | html %]/img/go-up.png" alt="Go up" />
92
                            <i class="fa fa-lg icon-move-hold-up" aria-hidden="true"></i>
91
                        </a>
93
                        </a>
92
                        <a title="Move hold to top" href="request.pl?action=move&amp;where=top&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
94
93
                            <img src="[% interface | html %]/[% theme | html %]/img/go-top.png" alt="Go top" />
95
                        <a class="hold-arrow" title="Move hold to top" href="request.pl?action=move&amp;where=top&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
96
                            <i class="fa fa-lg icon-move-hold-top" aria-hidden="true"></i>
94
                        </a>
97
                        </a>
95
                        <a title="Move hold to bottom" href="request.pl?action=move&amp;where=bottom&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
98
96
                            <img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Go bottom" />
99
                        <a class="hold-arrow" title="Move hold to bottom" href="request.pl?action=move&amp;where=bottom&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
100
                            <i class="fa fa-lg icon-move-hold-bottom" aria-hidden="true"></i>
97
                        </a>
101
                        </a>
98
                        <a title="Move hold down" href="request.pl?action=move&amp;where=down&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
102
99
                            <img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Go down" />
103
                        <a class="hold-arrow" title="Move hold down" href="request.pl?action=move&amp;where=down&amp;first_priority=[% first_priority | html %]&amp;last_priority=[% last_priority | html %]&amp;prev_priority=[% prev_priority | html %]&amp;next_priority=[% next_priority | html %]&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
104
                            <i class="fa fa-lg icon-move-hold-down" aria-hidden="true"></i>
100
                        </a>
105
                        </a>
101
                    </td>
106
                    </td>
102
        [%- ELSE -%]
107
        [%- ELSE -%]
Lines 185-196 Link Here
185
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
190
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
186
            [%- UNLESS hold.found -%]
191
            [%- UNLESS hold.found -%]
187
                    <td>
192
                    <td>
188
                        <a title="Toggle lowest priority" href="request.pl?action=setLowestPriority&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
193
                            [% IF ( hold.lowestPriority ) %]
189
                            [%- IF ( hold.lowestPriority ) -%]
194
                                <a class="hold-arrow" title="Remove lowest priority" href="request.pl?action=setLowestPriority&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
190
                                <img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Unset lowest priority" />
195
                                    <i class="fa fa-lg fa-rotate-90 icon-unset-lowest" aria-hidden="true"></i>
191
                            [%- ELSE -%]
196
                            [% ELSE %]
192
                                <img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Set to lowest priority" />
197
                                <a class="hold-arrow" title="Set lowest priority" href="request.pl?action=setLowestPriority&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
193
                            [%- END -%]
198
                                    <i class="fa fa-lg fa-rotate-90 icon-set-lowest" aria-hidden="true"></i>
199
                            [% END %]
194
                        </a>
200
                        </a>
195
                    </td>
201
                    </td>
196
        [%- ELSE -%]
202
        [%- ELSE -%]
Lines 198-205 Link Here
198
        [%- END -%]
204
        [%- END -%]
199
            [%- END -%]
205
            [%- END -%]
200
            <td>
206
            <td>
201
                <a class="btn btn-default btn-xs cancel-hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
207
                <a class="cancel-hold" title="Cancel hold" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-id="[% hold.reserve_id | html %]" href="request.pl?action=cancel&amp;borrowernumber=[% hold.borrowernumber | html %]&amp;biblionumber=[% hold.biblionumber | html %]&amp;reserve_id=[% hold.reserve_id | html %]&amp;date=[% hold.date | html %]">
202
                    <i class="fa fa-trash" aria-hidden="true"></i> Cancel
208
                    <i class="fa fa-trash" aria-label="Cancel hold"></i>
203
                </a>
209
                </a>
204
            </td>
210
            </td>
205
            <td>
211
            <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +65 lines)
Lines 24-30 Link Here
24
    <title>Confirm holds &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
24
    <title>Confirm holds &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
25
[% END %]
25
[% END %]
26
[% INCLUDE 'doc-head-close.inc' %]
26
[% INCLUDE 'doc-head-close.inc' %]
27
[% Asset.css("css/holds.css") | $raw %]
27
[% FILTER collapse %]
28
    <style>
29
        a.hold-arrow {
30
            display:inline-block;
31
            padding:3px;
32
        }
33
        a.hold-arrow:link,
34
        a.hold-arrow:visited {
35
            color: #538200;
36
        }
37
38
        a.hold-arrow:hover,
39
        a.hold-arrow:active{
40
            color: #75b700;
41
        }
42
43
        .hold-arrow:hover i,
44
        .hold-arrow:active i {
45
            border-color: #75b700;
46
        }
47
48
        a.cancel-hold {
49
            display:inline-block;
50
            padding:3px;
51
        }
52
53
        a.cancel-hold:link,
54
        a.cancel-hold:visited{
55
            color:#c00;
56
            font-size:130%
57
        }
58
59
        .icon-move-hold-up::before {
60
            content: "\f062";
61
        }
62
63
        .icon-move-hold-top {
64
            border-top: 3px solid #538200;
65
        }
66
67
        .icon-move-hold-top::before {
68
            content: "\f062";
69
        }
70
71
        .icon-move-hold-bottom {
72
            border-bottom: 3px solid #538200;
73
        }
74
75
        .icon-move-hold-bottom::before {
76
            content: "\f063";
77
        }
78
79
        .icon-move-hold-down::before {
80
            content: "\f063";
81
        }
82
83
        .icon-unset-lowest::before {
84
            content: "\f050";
85
        }
86
87
        .icon-set-lowest::before {
88
            content: "\f04e";
89
        }
90
    </style>
91
[% END %]
28
</head>
92
</head>
29
93
30
<body id="circ_request" class="catalog">
94
<body id="circ_request" class="catalog">
31
- 

Return to bug 29057