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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-166 / +43 lines)
Lines 1061-1079 Link Here
1061
        <div class="span3">
1061
        <div class="span3">
1062
            <div id="ulactioncontainer">
1062
            <div id="ulactioncontainer">
1063
1063
1064
                [% IF ( OpacBrowseResults && busc ) %]
1064
                [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1065
                    <div class="nav_results">
1065
                    <div class="nav_results">
1066
                        <div class="l_Results">
1066
                        <div class="l_Results" style="display:none;">
1067
                            [% IF ( listResults ) %]
1067
                            [% IF ( listResults ) %]
1068
                                <a href="#" id="a_listResults">Browse results</a>
1068
                                <a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a>
1069
                            [% ELSE %]
1069
                            [% ELSE %]
1070
                                <span>Browse results</span>
1070
                                <span><i class="fa fa-bars"></i> Browse results</span>
1071
                            [% END %]
1071
                            [% END %]
1072
                            <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1072
                        </div>
1073
                        </div>
1073
                        <ul class="pg_menu clearfix">
1074
                        <ul class="pg_menu clearfix">
1074
                            <li class="left_results">
1075
                            <li class="left_results">
1075
                                [% IF ( previousBiblionumber ) %]
1076
                                [% IF ( previousBiblionumber ) %]
1076
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]">&laquo; Previous</a>
1077
                                    <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]"><i class="fa fa-angle-double-left"></i> Previous</a>
1077
                                [% ELSE %]
1078
                                [% ELSE %]
1078
                                    <span>Previous</span>
1079
                                    <span>Previous</span>
1079
                                [% END %]
1080
                                [% END %]
Lines 1082-1088 Link Here
1082
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1083
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1083
                            <li class="right_results">
1084
                            <li class="right_results">
1084
                                [% IF ( nextBiblionumber ) %]
1085
                                [% IF ( nextBiblionumber ) %]
1085
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next &raquo;</a>
1086
                                    <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next <i class="fa fa-angle-double-right"></i></a>
1086
                                [% ELSE %]
1087
                                [% ELSE %]
1087
                                    <span>Next</span>
1088
                                    <span>Next</span>
1088
                                [% END %]
1089
                                [% END %]
Lines 1091-1104 Link Here
1091
                        [% IF ( listResults ) %]
1092
                        [% IF ( listResults ) %]
1092
                        <div class="results-pagination">
1093
                        <div class="results-pagination">
1093
                            <div class="nav_pages">
1094
                            <div class="nav_pages">
1094
                                <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1095
                                <ul id="listResults">
1095
                                <ul id="listResults"></ul>
1096
                                    [% FOREACH listitem IN listResults %]
1097
                                        [% IF ( listitem.biblionumber == biblionumber ) %]
1098
                                            <li class="li_pag_[% loop.count %] highlight">
1099
                                        [% ELSE %]
1100
                                            <li class="li_pag_[% loop.count %]">
1101
                                        [% END %]
1102
                                        <a href="opac-detail.pl?biblionumber=[% listitem.biblionumber %]&amp;query_desc=[% query_desc |uri %]" title="View record &quot;[% listitem.title %]&quot;" class="a_pag" id="a_pag_[% loop.count %]">[% loop.count + offset %]</a></li>
1103
                                    [% END %]
1104
                                </ul>
1096
                            </div>
1105
                            </div>
1097
                            <div class="pagination_list">
1106
                            <div class="pagination_list">
1098
                                <ul id="ul_pagination_list"></ul>
1107
                                <ul id="ul_pagination_lists">
1108
                                    [% FOREACH listitem IN listResults %]
1109
                                        [% IF ( listitem.biblionumber == biblionumber ) %]
1110
                                            <li id="li_pag_[% loop.count %]" class="highlight" title="Go to detail"><span class="li_pag_index"><i class="fa fa-arrow-left"></i> [% loop.count  + offset %]</span><a href="opac-detail.pl?biblionumber=[% biblionumber %]&amp;query_desc=[% query_desc |uri %]">[% title %]</a><br> [% IF ( author ) %]by [% author %][% END %]</li>
1111
                                        [% ELSE %]
1112
                                            <li id="li_pag_[% loop.count %]" title="Go to detail"><span class="li_pag_index">[% loop.count + offset %]</span><a href="opac-detail.pl?biblionumber=[% listitem.biblionumber %]&amp;query_desc=[% query_desc |uri %]">[% listitem.title %]</a><br> [% IF ( listitem.author ) %]by [% listitem.author %][% END %]</li>
1113
                                        [% END %]
1114
                                    [% END %]
1115
                                </ul>
1099
                            </div>
1116
                            </div>
1100
                        </div>
1117
                        </div>
1101
                        [% END %]
1118
                        [% END %]
1119
                        <div class="pagination_footer">
1120
                            <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1121
                        </div>
1102
                    </div>
1122
                    </div>
1103
                [% END # / IF OpacBrowseResults && busc %]
1123
                [% END # / IF OpacBrowseResults && busc %]
1104
1124
Lines 1353-1359 Link Here
1353
[% INCLUDE 'datatables.inc' %]
1373
[% INCLUDE 'datatables.inc' %]
1354
[% INCLUDE 'columns_settings.inc' %]
1374
[% INCLUDE 'columns_settings.inc' %]
1355
[% IF ( SocialNetworks ) %]
1375
[% IF ( SocialNetworks ) %]
1356
    <script src="https://apis.google.com/js/plusone.js"></script>
1376
    <script src="https://apis.google.com/js/plusone.js">
1357
    //<![CDATA[
1377
    //<![CDATA[
1358
      {lang: '[% lang %]'}
1378
      {lang: '[% lang %]'}
1359
    //]]>
1379
    //]]>
Lines 1365-1386 Link Here
1365
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %][% END %]
1385
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %][% END %]
1366
1386
1367
<script>
1387
<script>
1368
//<![CDATA[
1369
1370
    [% IF ( OpacBrowseResults && busc ) %]
1371
        var arrPagination = new Array();
1372
        var pag_index_ini = [% indexPag %];
1373
        [% IF ( listResults ) %]
1374
            [% FOREACH listResult IN listResults %]
1375
                arrPagination[[% listResult.index %]] = {
1376
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1377
                    title:"[% listResult.title|remove('\n')|html %]",
1378
                    author:"[% listResult.author|html %]",
1379
                    biblionumber:[% listResult.biblionumber %]
1380
                };
1381
           [% END %]
1382
        [% END %]
1383
    [% END %]
1384
1388
1385
    [% IF ( OpacHighlightedWords ) %]
1389
    [% IF ( OpacHighlightedWords ) %]
1386
        var q_array = new Array();  // holds search terms if available
1390
        var q_array = new Array();  // holds search terms if available
Lines 1419-1424 Link Here
1419
            }
1423
            }
1420
        });
1424
        });
1421
1425
1426
        [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1427
            $(".l_Results").show();
1428
            $("#a_listResults").on("click", function(e){
1429
                e.preventDefault();
1430
                $(".results-pagination, .close_pagination, .pg_menu").toggle();
1431
            });
1432
1433
            $(".close_pagination").on("click", function(e){
1434
                e.preventDefault();
1435
                $(".results-pagination, .close_pagination, .pg_menu").toggle();
1436
            });
1437
        [% END %]
1438
1422
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1439
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1423
1440
1424
        KohaTable("#holdingst", {
1441
        KohaTable("#holdingst", {
Lines 1527-1560 Link Here
1527
            });
1544
            });
1528
    [% END %]
1545
    [% END %]
1529
1546
1530
    [% IF ( OpacBrowseResults && busc ) %]
1531
        var list_title_showmsg = _("Show pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1532
        var list_title_hidemsg = _("Hide pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1533
        if (arrPagination.length > 0) {
1534
            renderPagIndexList(pag_index_ini, $("#listResults"));
1535
            var reslist = $("#a_listResults");
1536
            reslist.attr('title', list_title_showmsg);
1537
        }
1538
        $("#a_listResults").click(function(e) {
1539
            if (arrPagination.length > 0) {
1540
                e.preventDefault();
1541
                var navigation = $(".results-pagination");
1542
                if (navigation.css("display") == 'none') {
1543
                    navigation.show();
1544
                    $(this).attr('title',list_title_hidemsg);
1545
                    renderPagination(pag_index_ini, arrPagination.length - 1, $("#ul_pagination_list"), false);
1546
                } else {
1547
                    navigation.hide();
1548
                    $(this).attr('title',list_title_showmsg);
1549
                }
1550
            }
1551
        });
1552
        $("#close_pagination").click(function(e) {
1553
            e.preventDefault();
1554
            var navigation = $(".results-pagination");
1555
            navigation.hide();
1556
        });
1557
    [% END %]
1558
[% IF ( OPACShelfBrowser ) %]
1547
[% IF ( OPACShelfBrowser ) %]
1559
1548
1560
    (function prepareShelfBrowser(){
1549
    (function prepareShelfBrowser(){
Lines 1720-1837 Link Here
1720
        }
1709
        }
1721
    [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1710
    [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1722
1711
1723
    [% IF ( OpacBrowseResults && busc ) %]
1724
        var timeoutRFW;
1725
        var totalPagItemList = 10;
1726
1727
        function rewindList()
1728
        {
1729
            var ul = $("#listResults");
1730
            var li_ini = ul.children(':first').next();
1731
            var index_ini = pag_index_ini;
1732
            if (li_ini) {
1733
                index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1734
            }
1735
            var li_end = ul.children(':last').prev();
1736
            var index_end = arrPagination.length - 1;
1737
            if (li_end) {
1738
                index_end = parseInt(li_end.attr("class").substring(7), 10);
1739
            }
1740
            if (index_ini > pag_index_ini) {
1741
                renderPagIndexList(index_ini - 1, ul, false);
1742
                renderPagination(index_ini - 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1743
            }
1744
        }//rewindList
1745
1746
        function forwardList()
1747
        {
1748
            var ul = $("#listResults");
1749
            var li_ini = ul.children(':first').next();
1750
            var index_ini = pag_index_ini;
1751
            if (li_ini) {
1752
                index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1753
            }
1754
            var li_end = ul.children(':last').prev();
1755
            var index_end = arrPagination.length - 1;
1756
            if (li_end) {
1757
                index_end = parseInt(li_end.attr("class").substring(7), 10);
1758
            }
1759
            if (index_end < arrPagination.length - 1) {
1760
                renderPagIndexList(index_ini + 1, ul, false);
1761
                renderPagination(index_ini + 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1762
            }
1763
        }//forwardList
1764
1765
        function renderPagIndexList(index, ul)
1766
        {
1767
            var $kids = ul.children("li");
1768
            if ($kids.length > 0) {
1769
                $kids.each(function() {
1770
                    $(this).remove();
1771
                });
1772
            }
1773
            var li;
1774
            var html = "";
1775
            var ini = index - 1;
1776
            var end = ini + totalPagItemList - 1;
1777
            li = $("<li />");
1778
            html = (index > pag_index_ini)?"<a href='#' id='rew_list_index' onclick='rewindList()' title='" + _("Click to rewind the list to") + " " + ini + " - " + end + "'>&laquo;</a>":"&laquo;";
1779
            li.html(html);
1780
            ul.append(li);
1781
            var title = "";
1782
            for (var i=index; i < arrPagination.length && i < index + totalPagItemList; i++) {
1783
                if (arrPagination[i] == undefined) continue;
1784
                var li = $("<li />");
1785
                if (arrPagination[i].url != "") {
1786
                    title = _("See biblio") + " &quot;" + arrPagination[i].title + "&quot; ";
1787
                    if (arrPagination[i].author != "") title += " " + _("by") + "&quot;" + arrPagination[i].author + "&quot;";
1788
                    title += " " + _("with biblionumber") + " " + arrPagination[i].biblionumber;
1789
                    html = "<a href='" + arrPagination[i].url + "' title='" + title + "' class='a_pag' id='a_pag_" + i + "'";
1790
                    html += " onmouseover='renderPagination(" + i + ", " + (arrPagination.length - 1) + ", $(\"#ul_pagination_list\"), true)'";
1791
                    html += ">" + i + "</a>";
1792
                } else html = i;
1793
                li.html(html);
1794
                li.attr("class", "li_pag_" + i);
1795
                ul.append(li);
1796
            }
1797
            li = $("<li />");
1798
            ini = index + 1;
1799
            end = (arrPagination.length > index + totalPagItemList)?index + totalPagItemList:arrPagination.length - 1;
1800
            html = (end <= arrPagination.length - 1 && (end - index) >= totalPagItemList)?"<a href='#' id='fw_list_index' onclick='forwardList()' title='" + _("Click to forward the list to") + " " + ini + " - " + end + "'>&raquo;</a>":"&raquo;";
1801
            li.html(html);
1802
            ul.append(li);
1803
        }//renderPagIndexList
1804
1805
1806
        function renderPagination(index, total, ul, highlIndex)
1807
        {
1808
            for (var i = pag_index_ini; i <= total; i++) {
1809
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1810
                $("#li_pag_" + i).remove();
1811
            }
1812
            var j = 0;
1813
            for (var i = index; i <= total && j < totalPagItemList; i++) {
1814
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1815
                var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"")  + " title='" + _("Go to detail") + "' />");
1816
                var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1817
                if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1818
                li.html(html);
1819
                if (highlIndex && i == index) li.css("backgroundColor", "#DDDDDD");
1820
                ul.append(li);
1821
                j++;
1822
            }
1823
            for (i = pag_index_ini; i < index && j < totalPagItemList; i++) {
1824
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1825
                $("#li_pag_" + i).remove();
1826
                var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"")  + " title='" + _("Go to detail") + "' />");
1827
                var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1828
                if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1829
                li.html(html);
1830
                ul.append(li);
1831
                j++;
1832
            }
1833
        }//renderPagination
1834
    [% END # / IF ( OpacBrowseResults && busc ) %]
1835
//]]>
1712
//]]>
1836
</script>
1713
</script>
1837
1714
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-52 / +58 lines)
Lines 1113-1128 div.rows { Link Here
1113
1113
1114
/* pagination */
1114
/* pagination */
1115
.results-pagination {
1115
.results-pagination {
1116
    position: absolute;
1117
    top:32px;
1118
    left: -1px;
1119
    width: 100%;
1120
    height:auto;
1121
    border: 1px solid #D0D0D0;
1122
    display: none;
1116
    display: none;
1123
    background-color:#F3F3F3;
1117
    background-color:#F3F3F3;
1124
    padding-bottom:10px;
1118
    padding-bottom: 10px;
1125
    z-index: 100;
1119
}
1120
1121
.close_pagination {
1122
    display: none;
1126
}
1123
}
1127
1124
1128
1125
Lines 1136-1162 div.rows { Link Here
1136
1133
1137
.pagination_list {
1134
.pagination_list {
1138
    ul {
1135
    ul {
1139
        padding-top: 40px;
1136
        margin: 0;
1140
        padding-left:0px;
1137
        padding: 0;
1141
    }
1138
    }
1142
    li {
1139
    li {
1140
        border-top : 1px solid #DDDDDD;
1143
        list-style:none;
1141
        list-style:none;
1144
        float:bottom;
1142
        float:bottom;
1145
        padding:4px;
1143
        padding:4px;
1146
        color:#999;
1144
        color:#999;
1147
        &.highlight {
1145
        &.highlight {
1148
           background-color : #F3F3F3;
1146
           background-color : #DDDDDD;
1149
           border-top : 1px solid #DDDDDD;
1150
           border-bottom : 1px solid #DDDDDD;
1151
        }
1147
        }
1152
        a {
1148
        a {
1153
            padding-left:0px;
1149
            padding-left:0px;
1154
        }
1150
        }
1155
    }
1151
    }
1156
    .li_pag_index {
1152
    .li_pag_index {
1157
        color: #999999;
1153
        color: #636363;
1158
        float: left;
1154
        font-size: 90%;
1159
        font-size: 15px;
1160
        font-weight: bold;
1155
        font-weight: bold;
1161
        padding-right: 10px;
1156
        padding-right: 10px;
1162
        text-align: right;
1157
        text-align: right;
Lines 1164-1197 div.rows { Link Here
1164
    }
1159
    }
1165
}
1160
}
1166
1161
1162
.pagination_footer {
1163
    background-color: #E1E1E1;
1164
    text-align: center;
1165
    .close_pagination {
1166
        display: none;
1167
    }
1168
}
1169
1170
.l_Results {
1171
    background-color: #E1E1E1;
1172
    .close_pagination {
1173
        float: right;
1174
        padding: 8px 12px;
1175
    }
1176
}
1177
1167
.nav_results {
1178
.nav_results {
1168
    background-color: #F3F3F3;
1169
    border: 1px solid #D0D0D0;
1179
    border: 1px solid #D0D0D0;
1170
    font-size: 95%;
1180
    font-size: 95%;
1171
    font-weight: bold;
1181
    font-weight: bold;
1172
    margin-top: 0.5em;
1182
    margin-top: 0.5em;
1173
    position:relative;
1183
    position:relative;
1174
    .l_Results {
1175
        a {
1176
            background:#E1E1E1 url("../images/sprite.png") no-repeat 0px -504px; /* Browse results menu */
1177
            color:#006699;
1178
            display:block;
1179
            padding:8px 28px;
1180
            text-decoration:none;
1181
        }
1182
        &:hover {
1183
            background-color:#D9D9D9;
1184
        }
1185
    }
1186
}
1184
}
1187
1185
1186
#a_listResults {
1187
    color:#006699;
1188
    display: inline-block;
1189
    padding:8px 28px;
1190
    text-decoration:none;
1191
}
1192
1193
1194
1188
.pg_menu {
1195
.pg_menu {
1196
    background-color: #F3F3F3;
1189
    margin: 0;
1197
    margin: 0;
1190
    border-top: 1px solid #D0D0D0;
1198
    border-top: 1px solid #D0D0D0;
1191
    white-space : nowrap;
1199
    white-space : nowrap;
1192
    li {
1200
    li {
1193
        color:#B2B2B2;
1201
        color:#B2B2B2;
1194
        display:inline;
1202
        display: inline-block;
1203
        float: left;
1195
        list-style:none;
1204
        list-style:none;
1196
        margin: 0;
1205
        margin: 0;
1197
        &.back_results {
1206
        &.back_results {
Lines 1202-1210 div.rows { Link Here
1202
        }
1211
        }
1203
        a,
1212
        a,
1204
        span {
1213
        span {
1205
            background-color: #F3F3F3;
1214
            float: left;
1206
            display : block;
1215
            display : block;
1207
            float:left;
1208
            padding:.4em .5em;
1216
            padding:.4em .5em;
1209
            text-decoration:none;
1217
            text-decoration:none;
1210
            font-weight:normal;
1218
            font-weight:normal;
Lines 1218-1269 div.rows { Link Here
1218
1226
1219
#listResults{
1227
#listResults{
1220
    li {
1228
    li {
1221
        background-color:#999999;
1222
        color:#C5C5C5;
1229
        color:#C5C5C5;
1223
        font-weight:normal;
1230
        font-weight:normal;
1224
        display:block;
1231
        display: inline-block;
1225
        margin-right:1px;
1226
        font-size: 80%;
1232
        font-size: 80%;
1227
        padding: 0;
1233
        padding: 0;
1228
        text-align:center;
1234
        text-align:center;
1229
        min-width:18px;
1230
        &:hover {
1231
            background-color:#006699;
1232
        }
1233
        a {
1235
        a {
1236
            background-color:#999999;
1234
            color:#FFFFFF;
1237
            color:#FFFFFF;
1238
            display: block;
1235
            font-weight:normal;
1239
            font-weight:normal;
1240
            min-width:18px;
1241
            text-decoration: none;
1242
            &:hover {
1243
                background-color:#006699;
1244
            }
1245
        }
1246
    }
1247
    .highlight {
1248
        a {
1249
            background-color: #616161;
1236
        }
1250
        }
1237
    }
1251
    }
1238
}
1252
}
1239
1253
1240
/* nav */
1254
/* nav */
1241
.nav_pages {
1255
.nav_pages {
1242
    .close_pagination {
1256
    border-top: 1px solid #DDD;
1243
        padding-right: 10px;
1257
    padding: .6em;
1244
        position: absolute;
1245
        right: 3px;
1246
        top: -25px;
1247
    }
1248
    .close_pagination a {
1249
        text-decoration:none!important;
1250
    }
1251
    ul {
1258
    ul {
1252
        padding-top: 10px;
1259
        display: inline-block;
1260
        margin: 0;
1261
        padding: 0;
1253
    }
1262
    }
1254
    li {
1263
    li {
1255
        list-style:none;
1264
        list-style:none;
1256
        float:left;
1257
        padding:4px;
1265
        padding:4px;
1258
        color:#999;
1266
        color:#999;
1259
        a {
1267
        a {
1260
            text-decoration:none!important;
1261
            &:hover {
1268
            &:hover {
1262
            text-decoration:underline;
1269
            text-decoration:underline;
1263
            }
1270
            }
1264
        }
1271
        }
1265
        ul {
1272
        ul {
1266
            float:left;
1267
        }
1273
        }
1268
    }
1274
    }
1269
}
1275
}
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/responsive.less (-2 / +10 lines)
Lines 463-478 Link Here
463
}
463
}
464
464
465
@media only screen and (max-width: 1040px) {
465
@media only screen and (max-width: 1040px) {
466
    #a_listResults,
467
    #close_pagination {
468
        padding: 5px 5px;
469
    }
466
    .pg_menu {
470
    .pg_menu {
467
        li {
471
        li {
472
            display: block;
473
            float: none;
468
            a {
474
            a {
475
                display: block;
469
                float: none;
476
                float: none;
470
                text-align : left;
477
                text-align : left;
471
            }
478
            }
472
            &.back_results {
479
            &.back_results {
473
                a {
480
                a {
474
                    border : 1px solid #D0D0D0;
481
                    border: 0;
475
                    border-width : 1px 0 1px 0;
482
                    border-top: 1px solid #DDD;
483
                    border-bottom: 1px solid #DDD;
476
                }
484
                }
477
            }
485
            }
478
        }
486
        }
(-)a/opac/opac-detail.pl (-2 / +1 lines)
Lines 173-179 if ( $xslfile ) { Link Here
173
}
173
}
174
174
175
my $OpacBrowseResults = C4::Context->preference("OpacBrowseResults");
175
my $OpacBrowseResults = C4::Context->preference("OpacBrowseResults");
176
$template->{VARS}->{'OpacBrowseResults'} = $OpacBrowseResults;
177
176
178
# We look for the busc param to build the simple paging from the search
177
# We look for the busc param to build the simple paging from the search
179
if ($OpacBrowseResults) {
178
if ($OpacBrowseResults) {
Lines 460-465 if ($session->param('busc')) { Link Here
460
    }
459
    }
461
    $template->param('listResults' => \@listResults) if (@listResults);
460
    $template->param('listResults' => \@listResults) if (@listResults);
462
    $template->param('indexPag' => 1 + $offset, 'totalPag' => $arrParamsBusc{'total'}, 'indexPagEnd' => scalar(@arrBiblios) + $offset);
461
    $template->param('indexPag' => 1 + $offset, 'totalPag' => $arrParamsBusc{'total'}, 'indexPagEnd' => scalar(@arrBiblios) + $offset);
462
    $template->param( 'offset' => $offset );
463
}
463
}
464
}
464
}
465
465
466
- 

Return to bug 20898