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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-1 / +5 lines)
Lines 478-484 aside { Link Here
478
            list-style: none;
478
            list-style: none;
479
479
480
            a {
480
            a {
481
                border-left: 5px solid #E6E6E6;
481
                border-left: 5px solid transparent;
482
                color: #000;
482
                color: #000;
483
                display: block;
483
                display: block;
484
                padding: .7em .3em .7em 1rem;
484
                padding: .7em .3em .7em 1rem;
Lines 506-511 aside { Link Here
506
            }
506
            }
507
        }
507
        }
508
    }
508
    }
509
510
    .breadcrumb-item {
511
        font-style: normal;
512
    }
509
}
513
}
510
514
511
div {
515
div {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-10 / +2 lines)
Lines 640-657 Link Here
640
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
640
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
641
                    <div id="stockrotation-menu" class="sidebar_menu">
641
                    <div id="stockrotation-menu" class="sidebar_menu">
642
                        <ul>
642
                        <ul>
643
                            [% IF op == 'manage_stages' %]
643
                            <li>
644
                                <li class="active">
645
                            [% ELSE %]
646
                                <li>
647
                            [% END %]
648
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
644
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
649
                            </li>
645
                            </li>
650
                            [% IF op == 'manage_items' %]
646
                            <li>
651
                                <li class="active">
652
                            [% ELSE %]
653
                                <li>
654
                            [% END %]
655
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
647
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
656
                            </li>
648
                            </li>
657
                        </ul>
649
                        </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-13 / +15 lines)
Lines 181-199 $(document).ready(function () { Link Here
181
181
182
    var sidebar_menu = $(".sidebar_menu");
182
    var sidebar_menu = $(".sidebar_menu");
183
    if (sidebar_menu.length > 0) {
183
    if (sidebar_menu.length > 0) {
184
        var path = location.pathname.substring(1);
184
        sidebar_menu.each(function(){
185
        var url = window.location.toString();
185
            var path = location.pathname.substring(1);
186
        var params = "";
186
            var url = window.location.toString();
187
        if (url.match(/\?(.+)$/)) {
187
            var params = "";
188
            params = "?" + RegExp.$1;
188
            if (url.match(/\?(.+)$/)) {
189
        }
189
                params = "?" + RegExp.$1;
190
        if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
190
            }
191
            $('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
191
            if ($('a[href$="/' + path + params + '"]', $(this) ).length == 0) {
192
        } else {
192
                $('a[href$="/' + path + '"]', $(this) ).addClass("current");
193
            $('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
193
            } else {
194
                "current"
194
                $('a[href$="/' + path + params + '"]', $(this) ).addClass(
195
            );
195
                    "current"
196
        }
196
                );
197
            }
198
        });
197
    }
199
    }
198
200
199
    $("#catalog-search-link a").on("mouseenter mouseleave", function () {
201
    $("#catalog-search-link a").on("mouseenter mouseleave", function () {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue (-8 / +10 lines)
Lines 102-112 export default { Link Here
102
                av_item_reports_metrics: "ERM_ITEM_REPORTS_METRICS",
102
                av_item_reports_metrics: "ERM_ITEM_REPORTS_METRICS",
103
            }
103
            }
104
104
105
            let av_cat_array = Object.keys(authorised_values).map(function (
105
            let av_cat_array = Object.keys(authorised_values).map(
106
                av_cat
106
                function (av_cat) {
107
            ) {
107
                    return '"' + authorised_values[av_cat] + '"'
108
                return '"' + authorised_values[av_cat] + '"'
108
                }
109
            })
109
            )
110
110
111
            promises.push(
111
            promises.push(
112
                av_client.values
112
                av_client.values
Lines 173-178 export default { Link Here
173
<style>
173
<style>
174
#menu ul ul,
174
#menu ul ul,
175
.sidebar_menu ul ul {
175
.sidebar_menu ul ul {
176
    background-color: transparent;
176
    padding-left: 2em;
177
    padding-left: 2em;
177
    font-size: 100%;
178
    font-size: 100%;
178
}
179
}
Lines 184-190 form .v-select { Link Here
184
}
185
}
185
186
186
.v-select,
187
.v-select,
187
input:not([type="submit"]):not([type="search"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
188
input:not([type="submit"]):not([type="search"]):not([type="button"]):not(
189
        [type="checkbox"]
190
    ):not([type="radio"]),
188
textarea {
191
textarea {
189
    border-color: rgba(60, 60, 60, 0.26);
192
    border-color: rgba(60, 60, 60, 0.26);
190
    border-width: 1px;
193
    border-width: 1px;
Lines 196-202 textarea { Link Here
196
}
199
}
197
.sidebar_menu ul li a.current.disabled {
200
.sidebar_menu ul li a.current.disabled {
198
    background-color: inherit;
201
    background-color: inherit;
199
    border-left: 5px solid #e6e6e6;
202
    border-left: 5px solid transparent;
200
    color: #000;
203
    color: #000;
201
}
204
}
202
.sidebar_menu ul li a.disabled {
205
.sidebar_menu ul li a.disabled {
203
- 

Return to bug 37222