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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-17 / +22 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 85-101 Link Here
85
                    [%- SET prev_priority  = loop.prev.priority -%]
87
                    [%- SET prev_priority  = loop.prev.priority -%]
86
                    [%- SET next_priority  = loop.next.priority -%]
88
                    [%- SET next_priority  = loop.next.priority -%]
87
                    <td style="white-space:nowrap;">
89
                    <td style="white-space:nowrap;">
88
                        <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 %]">
90
                        <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 %]">
89
                            <img src="[% interface | html %]/[% theme | html %]/img/go-up.png" alt="Go up" />
91
                            <i class="fa fa-lg fa-arrow-up" aria-label="Move hold up"></i>
90
                        </a>
92
                        </a>
91
                        <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 %]">
93
92
                            <img src="[% interface | html %]/[% theme | html %]/img/go-top.png" alt="Go top" />
94
                        <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 %]">
95
                            <i class="fa fa-lg fa-arrow-up top" aria-label="Move hold to top"></i>
93
                        </a>
96
                        </a>
94
                        <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 %]">
97
95
                            <img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Go bottom" />
98
                        <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 %]">
99
                            <i class="fa fa-lg fa-arrow-down bottom" aria-label="Move hold to bottom"></i>
96
                        </a>
100
                        </a>
97
                        <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 %]">
101
98
                            <img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Go down" />
102
                        <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 %]">
103
                            <i class="fa fa-lg fa-arrow-down" aria-label="Move hold down"></i>
99
                        </a>
104
                        </a>
100
                    </td>
105
                    </td>
101
        [%- ELSE -%]
106
        [%- ELSE -%]
Lines 181-192 Link Here
181
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
186
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
182
            [%- UNLESS hold.found -%]
187
            [%- UNLESS hold.found -%]
183
                    <td>
188
                    <td>
184
                        <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 %]">
189
                        <a class="hold-arrow" 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 %]">
185
                            [%- IF ( hold.lowestPriority ) -%]
190
                            [% IF ( hold.lowestPriority ) %]
186
                                <img src="[% interface | html %]/[% theme | html %]/img/go-bottom.png" alt="Unset lowest priority" />
191
                                <i class="fa fa-lg fa-rotate-90 fa-forward" aria-label="Move hold down"></i>
187
                            [%- ELSE -%]
192
                            [% ELSE %]
188
                                <img src="[% interface | html %]/[% theme | html %]/img/go-down.png" alt="Set to lowest priority" />
193
                                <i class="fa fa-lg fa-rotate-90 fa-fast-forward" aria-label="Move hold to bottom"></i>
189
                            [%- END -%]
194
                            [% END %]
190
                        </a>
195
                        </a>
191
                    </td>
196
                    </td>
192
        [%- ELSE -%]
197
        [%- ELSE -%]
Lines 194-201 Link Here
194
        [%- END -%]
199
        [%- END -%]
195
            [%- END -%]
200
            [%- END -%]
196
            <td>
201
            <td>
197
                <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 %]">
202
                <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 %]">
198
                    <i class="fa fa-trash" aria-hidden="true"></i> Cancel
203
                    <i class="fa fa-trash" aria-label="Cancel hold"></i>
199
                </a>
204
                </a>
200
            </td>
205
            </td>
201
            <td>
206
            <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +36 lines)
Lines 19-25 Link Here
19
    <title>Confirm holds &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
19
    <title>Confirm holds &rsaquo; Holds &rsaquo; Circulation &rsaquo; Koha</title>
20
[% END %]
20
[% END %]
21
[% INCLUDE 'doc-head-close.inc' %]
21
[% INCLUDE 'doc-head-close.inc' %]
22
[% Asset.css("css/holds.css") | $raw %]
22
[% FILTER collapse %]
23
    <style>
24
        a.hold-arrow {
25
            display:inline-block;
26
            padding:3px;
27
        }
28
        a.hold-arrow:link,
29
        a.hold-arrow:visited {
30
            color: #538200;
31
        }
32
33
        a.hold-arrow:hover,
34
        a.hold-arrow:active{
35
            color: #75b700;
36
        }
37
38
        .hold-arrow i.top {
39
            border-top: 3px solid #538200;
40
        }
41
42
        .hold-arrow i.bottom {
43
            border-bottom: 3px solid #538200;
44
        }
45
46
        a.cancel-hold {
47
            display:inline-block;
48
            padding:3px;
49
        }
50
51
        a.cancel-hold:link,
52
        a.cancel-hold:visited{
53
            color:#c00;
54
            font-size:130%
55
        }
56
    </style>
57
[% END %]
23
</head>
58
</head>
24
59
25
<body id="circ_request" class="catalog">
60
<body id="circ_request" class="catalog">
26
- 

Return to bug 29057