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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-7 / +5 lines)
Lines 47-60 Link Here
47
            [% SET tr_class = hold.suspend ? 'suspend' : '' %]
47
            [% SET tr_class = hold.suspend ? 'suspend' : '' %]
48
            <tr class="[% tr_class | html %]">
48
            <tr class="[% tr_class | html %]">
49
                <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]" /></td>
49
                <td><input type="checkbox" class="select_hold" data-id="[% hold.reserve_id | html %]" /></td>
50
                <td style="min-width:185px;" data-order="[% priority | html %]">
50
                <td style="min-width:190px;" data-order="[% priority | html %]">
51
                    <div>
51
                    <div class="priority_container">
52
                        <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
52
                        <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
53
                        <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
53
                        <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
54
                        <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
54
                        <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
55
                        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
55
                        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
56
                            [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
56
                            [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
57
                                <label for="rank-request_[% hold.reserve_id | html %]">Change priority to:</label>
57
                                <label for="rank-request_[% hold.reserve_id | html %]">Change priority to: </label>
58
                                <select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
58
                                <select name="rank-request" id="rank-request_[% hold.reserve_id | html %]" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
59
                                    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
59
                                    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
60
                                        [% FOREACH priority IN all_priorities %]
60
                                        [% FOREACH priority IN all_priorities %]
Lines 88-97 Link Here
88
                        [% ELSE %]
88
                        [% ELSE %]
89
                            <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" />
89
                            <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]" />
90
                        [% END %]
90
                        [% END %]
91
                        <div>
91
                        <label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label>
92
                            <label for="current_priority_[% hold.reserve_id | html %]">Current priority: </label>
92
                        <span id="current_priority_[% hold.reserve_id | html %]" class="current_priority badge text-bg-info">[% hold.priority | html %]</span>
93
                            <span id="current_priority_[% hold.reserve_id | html %]" class="current_priority badge text-bg-info">[% hold.priority | html %]</span>
94
                        </div>
95
                    </div>
93
                    </div>
96
                </td>
94
                </td>
97
                [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
95
                [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-1 / +7 lines)
Lines 105-116 Link Here
105
        :disabled {
105
        :disabled {
106
            opacity: 0.5;
106
            opacity: 0.5;
107
        }
107
        }
108
        .priority_container {
109
            display: grid;
110
            grid-template-columns: 2fr 1fr;
111
            align-items: center;
112
        }
108
        .current_priority {
113
        .current_priority {
114
            margin-left: 1ch;
109
            width: 50px;
115
            width: 50px;
110
            text-align: left;
116
            text-align: left;
111
            margin-top: 5px;
117
            margin-top: 5px;
112
        }
118
        }
113
        .rank-request {
119
        .rank-request {
120
            margin-left: 1ch;
114
            width: 50px;
121
            width: 50px;
115
        }
122
        }
116
    </style>
123
    </style>
117
- 

Return to bug 40706