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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-165 / +42 lines)
Lines 1090-1108 Link Here
1090
        <div class="span3">
1090
        <div class="span3">
1091
            <div id="ulactioncontainer">
1091
            <div id="ulactioncontainer">
1092
1092
1093
                [% IF ( OpacBrowseResults && busc ) %]
1093
                [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1094
                    <div class="nav_results">
1094
                    <div class="nav_results">
1095
                        <div class="l_Results">
1095
                        <div class="l_Results" style="display:none;">
1096
                            [% IF ( listResults ) %]
1096
                            [% IF ( listResults ) %]
1097
                                <a href="#" id="a_listResults">Browse results</a>
1097
                                <a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a>
1098
                            [% ELSE %]
1098
                            [% ELSE %]
1099
                                <span>Browse results</span>
1099
                                <span><i class="fa fa-bars"></i> Browse results</span>
1100
                            [% END %]
1100
                            [% END %]
1101
                            <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1101
                        </div>
1102
                        </div>
1102
                        <ul class="pg_menu clearfix">
1103
                        <ul class="pg_menu clearfix">
1103
                            <li class="left_results">
1104
                            <li class="left_results">
1104
                                [% IF ( previousBiblionumber ) %]
1105
                                [% IF ( previousBiblionumber ) %]
1105
                                    <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>
1106
                                    <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>
1106
                                [% ELSE %]
1107
                                [% ELSE %]
1107
                                    <span>Previous</span>
1108
                                    <span>Previous</span>
1108
                                [% END %]
1109
                                [% END %]
Lines 1111-1117 Link Here
1111
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1112
                            <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1112
                            <li class="right_results">
1113
                            <li class="right_results">
1113
                                [% IF ( nextBiblionumber ) %]
1114
                                [% IF ( nextBiblionumber ) %]
1114
                                    <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>
1115
                                    <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>
1115
                                [% ELSE %]
1116
                                [% ELSE %]
1116
                                    <span>Next</span>
1117
                                    <span>Next</span>
1117
                                [% END %]
1118
                                [% END %]
Lines 1120-1133 Link Here
1120
                        [% IF ( listResults ) %]
1121
                        [% IF ( listResults ) %]
1121
                        <div class="results-pagination">
1122
                        <div class="results-pagination">
1122
                            <div class="nav_pages">
1123
                            <div class="nav_pages">
1123
                                <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1124
                                <ul id="listResults">
1124
                                <ul id="listResults"></ul>
1125
                                    [% FOREACH listitem IN listResults %]
1126
                                        [% IF ( listitem.biblionumber == biblionumber ) %]
1127
                                            <li class="li_pag_[% loop.count %] highlight">
1128
                                        [% ELSE %]
1129
                                            <li class="li_pag_[% loop.count %]">
1130
                                        [% END %]
1131
                                        <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>
1132
                                    [% END %]
1133
                                </ul>
1125
                            </div>
1134
                            </div>
1126
                            <div class="pagination_list">
1135
                            <div class="pagination_list">
1127
                                <ul id="ul_pagination_list"></ul>
1136
                                <ul id="ul_pagination_lists">
1137
                                    [% FOREACH listitem IN listResults %]
1138
                                        [% IF ( listitem.biblionumber == biblionumber ) %]
1139
                                            <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>
1140
                                        [% ELSE %]
1141
                                            <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>
1142
                                        [% END %]
1143
                                    [% END %]
1144
                                </ul>
1128
                            </div>
1145
                            </div>
1129
                        </div>
1146
                        </div>
1130
                        [% END %]
1147
                        [% END %]
1148
                        <div class="pagination_footer">
1149
                            <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1150
                        </div>
1131
                    </div>
1151
                    </div>
1132
                [% END # / IF OpacBrowseResults && busc %]
1152
                [% END # / IF OpacBrowseResults && busc %]
1133
1153
Lines 1394-1415 Link Here
1394
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %][% END %]
1414
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %][% END %]
1395
1415
1396
<script type="text/javascript">
1416
<script type="text/javascript">
1397
//<![CDATA[
1398
1399
    [% IF ( OpacBrowseResults && busc ) %]
1400
        var arrPagination = new Array();
1401
        var pag_index_ini = [% indexPag %];
1402
        [% IF ( listResults ) %]
1403
            [% FOREACH listResult IN listResults %]
1404
                arrPagination[[% listResult.index %]] = {
1405
                    url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1406
                    title:"[% listResult.title|remove('\n')|html %]",
1407
                    author:"[% listResult.author|html %]",
1408
                    biblionumber:[% listResult.biblionumber %]
1409
                };
1410
           [% END %]
1411
        [% END %]
1412
    [% END %]
1413
1417
1414
    [% IF ( OpacHighlightedWords ) %]
1418
    [% IF ( OpacHighlightedWords ) %]
1415
        var q_array = new Array();  // holds search terms if available
1419
        var q_array = new Array();  // holds search terms if available
Lines 1448-1453 Link Here
1448
            }
1452
            }
1449
        });
1453
        });
1450
1454
1455
        [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1456
            $(".l_Results").show();
1457
            $("#a_listResults").on("click", function(e){
1458
                e.preventDefault();
1459
                $(".results-pagination, .close_pagination, .pg_menu").toggle();
1460
            });
1461
1462
            $(".close_pagination").on("click", function(e){
1463
                e.preventDefault();
1464
                $(".results-pagination, .close_pagination, .pg_menu").toggle();
1465
            });
1466
        [% END %]
1467
1451
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1468
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1452
1469
1453
        KohaTable("#holdingst", {
1470
        KohaTable("#holdingst", {
Lines 1556-1589 Link Here
1556
            });
1573
            });
1557
    [% END %]
1574
    [% END %]
1558
1575
1559
    [% IF ( OpacBrowseResults && busc ) %]
1560
        var list_title_showmsg = _("Show pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1561
        var list_title_hidemsg = _("Hide pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1562
        if (arrPagination.length > 0) {
1563
            renderPagIndexList(pag_index_ini, $("#listResults"));
1564
            var reslist = $("#a_listResults");
1565
            reslist.attr('title', list_title_showmsg);
1566
        }
1567
        $("#a_listResults").click(function(e) {
1568
            if (arrPagination.length > 0) {
1569
                e.preventDefault();
1570
                var navigation = $(".results-pagination");
1571
                if (navigation.css("display") == 'none') {
1572
                    navigation.show();
1573
                    $(this).attr('title',list_title_hidemsg);
1574
                    renderPagination(pag_index_ini, arrPagination.length - 1, $("#ul_pagination_list"), false);
1575
                } else {
1576
                    navigation.hide();
1577
                    $(this).attr('title',list_title_showmsg);
1578
                }
1579
            }
1580
        });
1581
        $("#close_pagination").click(function(e) {
1582
            e.preventDefault();
1583
            var navigation = $(".results-pagination");
1584
            navigation.hide();
1585
        });
1586
    [% END %]
1587
[% IF ( OPACShelfBrowser ) %]
1576
[% IF ( OPACShelfBrowser ) %]
1588
1577
1589
    (function prepareShelfBrowser(){
1578
    (function prepareShelfBrowser(){
Lines 1749-1866 Link Here
1749
        }
1738
        }
1750
    [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1739
    [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1751
1740
1752
    [% IF ( OpacBrowseResults && busc ) %]
1753
        var timeoutRFW;
1754
        var totalPagItemList = 10;
1755
1756
        function rewindList()
1757
        {
1758
            var ul = $("#listResults");
1759
            var li_ini = ul.children(':first').next();
1760
            var index_ini = pag_index_ini;
1761
            if (li_ini) {
1762
                index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1763
            }
1764
            var li_end = ul.children(':last').prev();
1765
            var index_end = arrPagination.length - 1;
1766
            if (li_end) {
1767
                index_end = parseInt(li_end.attr("class").substring(7), 10);
1768
            }
1769
            if (index_ini > pag_index_ini) {
1770
                renderPagIndexList(index_ini - 1, ul, false);
1771
                renderPagination(index_ini - 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1772
            }
1773
        }//rewindList
1774
1775
        function forwardList()
1776
        {
1777
            var ul = $("#listResults");
1778
            var li_ini = ul.children(':first').next();
1779
            var index_ini = pag_index_ini;
1780
            if (li_ini) {
1781
                index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1782
            }
1783
            var li_end = ul.children(':last').prev();
1784
            var index_end = arrPagination.length - 1;
1785
            if (li_end) {
1786
                index_end = parseInt(li_end.attr("class").substring(7), 10);
1787
            }
1788
            if (index_end < arrPagination.length - 1) {
1789
                renderPagIndexList(index_ini + 1, ul, false);
1790
                renderPagination(index_ini + 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1791
            }
1792
        }//forwardList
1793
1794
        function renderPagIndexList(index, ul)
1795
        {
1796
            var $kids = ul.children("li");
1797
            if ($kids.length > 0) {
1798
                $kids.each(function() {
1799
                    $(this).remove();
1800
                });
1801
            }
1802
            var li;
1803
            var html = "";
1804
            var ini = index - 1;
1805
            var end = ini + totalPagItemList - 1;
1806
            li = $("<li />");
1807
            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;";
1808
            li.html(html);
1809
            ul.append(li);
1810
            var title = "";
1811
            for (var i=index; i < arrPagination.length && i < index + totalPagItemList; i++) {
1812
                if (arrPagination[i] == undefined) continue;
1813
                var li = $("<li />");
1814
                if (arrPagination[i].url != "") {
1815
                    title = _("See biblio") + " &quot;" + arrPagination[i].title + "&quot; ";
1816
                    if (arrPagination[i].author != "") title += " " + _("by") + "&quot;" + arrPagination[i].author + "&quot;";
1817
                    title += " " + _("with biblionumber") + " " + arrPagination[i].biblionumber;
1818
                    html = "<a href='" + arrPagination[i].url + "' title='" + title + "' class='a_pag' id='a_pag_" + i + "'";
1819
                    html += " onmouseover='renderPagination(" + i + ", " + (arrPagination.length - 1) + ", $(\"#ul_pagination_list\"), true)'";
1820
                    html += ">" + i + "</a>";
1821
                } else html = i;
1822
                li.html(html);
1823
                li.attr("class", "li_pag_" + i);
1824
                ul.append(li);
1825
            }
1826
            li = $("<li />");
1827
            ini = index + 1;
1828
            end = (arrPagination.length > index + totalPagItemList)?index + totalPagItemList:arrPagination.length - 1;
1829
            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;";
1830
            li.html(html);
1831
            ul.append(li);
1832
        }//renderPagIndexList
1833
1834
1835
        function renderPagination(index, total, ul, highlIndex)
1836
        {
1837
            for (var i = pag_index_ini; i <= total; i++) {
1838
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1839
                $("#li_pag_" + i).remove();
1840
            }
1841
            var j = 0;
1842
            for (var i = index; i <= total && j < totalPagItemList; i++) {
1843
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1844
                var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"")  + " title='" + _("Go to detail") + "' />");
1845
                var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1846
                if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1847
                li.html(html);
1848
                if (highlIndex && i == index) li.css("backgroundColor", "#DDDDDD");
1849
                ul.append(li);
1850
                j++;
1851
            }
1852
            for (i = pag_index_ini; i < index && j < totalPagItemList; i++) {
1853
                if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1854
                $("#li_pag_" + i).remove();
1855
                var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"")  + " title='" + _("Go to detail") + "' />");
1856
                var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1857
                if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1858
                li.html(html);
1859
                ul.append(li);
1860
                j++;
1861
            }
1862
        }//renderPagination
1863
    [% END # / IF ( OpacBrowseResults && busc ) %]
1864
//]]>
1741
//]]>
1865
</script>
1742
</script>
1866
1743
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-52 / +58 lines)
Lines 1137-1152 div.rows { Link Here
1137
1137
1138
/* pagination */
1138
/* pagination */
1139
.results-pagination {
1139
.results-pagination {
1140
    position: absolute;
1141
    top:32px;
1142
    left: -1px;
1143
    width: 100%;
1144
    height:auto;
1145
    border: 1px solid #D0D0D0;
1146
    display: none;
1140
    display: none;
1147
    background-color:#F3F3F3;
1141
    background-color:#F3F3F3;
1148
    padding-bottom:10px;
1142
    padding-bottom: 10px;
1149
    z-index: 100;
1143
}
1144
1145
.close_pagination {
1146
    display: none;
1150
}
1147
}
1151
1148
1152
1149
Lines 1160-1186 div.rows { Link Here
1160
1157
1161
.pagination_list {
1158
.pagination_list {
1162
    ul {
1159
    ul {
1163
        padding-top: 40px;
1160
        margin: 0;
1164
        padding-left:0px;
1161
        padding: 0;
1165
    }
1162
    }
1166
    li {
1163
    li {
1164
        border-top : 1px solid #DDDDDD;
1167
        list-style:none;
1165
        list-style:none;
1168
        float:bottom;
1166
        float:bottom;
1169
        padding:4px;
1167
        padding:4px;
1170
        color:#999;
1168
        color:#999;
1171
        &.highlight {
1169
        &.highlight {
1172
           background-color : #F3F3F3;
1170
           background-color : #DDDDDD;
1173
           border-top : 1px solid #DDDDDD;
1174
           border-bottom : 1px solid #DDDDDD;
1175
        }
1171
        }
1176
        a {
1172
        a {
1177
            padding-left:0px;
1173
            padding-left:0px;
1178
        }
1174
        }
1179
    }
1175
    }
1180
    .li_pag_index {
1176
    .li_pag_index {
1181
        color: #999999;
1177
        color: #636363;
1182
        float: left;
1178
        font-size: 90%;
1183
        font-size: 15px;
1184
        font-weight: bold;
1179
        font-weight: bold;
1185
        padding-right: 10px;
1180
        padding-right: 10px;
1186
        text-align: right;
1181
        text-align: right;
Lines 1188-1221 div.rows { Link Here
1188
    }
1183
    }
1189
}
1184
}
1190
1185
1186
.pagination_footer {
1187
    background-color: #E1E1E1;
1188
    text-align: center;
1189
    .close_pagination {
1190
        display: none;
1191
    }
1192
}
1193
1194
.l_Results {
1195
    background-color: #E1E1E1;
1196
    .close_pagination {
1197
        float: right;
1198
        padding: 8px 12px;
1199
    }
1200
}
1201
1191
.nav_results {
1202
.nav_results {
1192
    background-color: #F3F3F3;
1193
    border: 1px solid #D0D0D0;
1203
    border: 1px solid #D0D0D0;
1194
    font-size: 95%;
1204
    font-size: 95%;
1195
    font-weight: bold;
1205
    font-weight: bold;
1196
    margin-top: 0.5em;
1206
    margin-top: 0.5em;
1197
    position:relative;
1207
    position:relative;
1198
    .l_Results {
1199
        a {
1200
            background:#E1E1E1 url("../images/sprite.png") no-repeat 0px -504px; /* Browse results menu */
1201
            color:#006699;
1202
            display:block;
1203
            padding:8px 28px;
1204
            text-decoration:none;
1205
        }
1206
        &:hover {
1207
            background-color:#D9D9D9;
1208
        }
1209
    }
1210
}
1208
}
1211
1209
1210
#a_listResults {
1211
    color:#006699;
1212
    display: inline-block;
1213
    padding:8px 28px;
1214
    text-decoration:none;
1215
}
1216
1217
1218
1212
.pg_menu {
1219
.pg_menu {
1220
    background-color: #F3F3F3;
1213
    margin: 0;
1221
    margin: 0;
1214
    border-top: 1px solid #D0D0D0;
1222
    border-top: 1px solid #D0D0D0;
1215
    white-space : nowrap;
1223
    white-space : nowrap;
1216
    li {
1224
    li {
1217
        color:#B2B2B2;
1225
        color:#B2B2B2;
1218
        display:inline;
1226
        display: inline-block;
1227
        float: left;
1219
        list-style:none;
1228
        list-style:none;
1220
        margin: 0;
1229
        margin: 0;
1221
        &.back_results {
1230
        &.back_results {
Lines 1226-1234 div.rows { Link Here
1226
        }
1235
        }
1227
        a,
1236
        a,
1228
        span {
1237
        span {
1229
            background-color: #F3F3F3;
1238
            float: left;
1230
            display : block;
1239
            display : block;
1231
            float:left;
1232
            padding:.4em .5em;
1240
            padding:.4em .5em;
1233
            text-decoration:none;
1241
            text-decoration:none;
1234
            font-weight:normal;
1242
            font-weight:normal;
Lines 1242-1293 div.rows { Link Here
1242
1250
1243
#listResults{
1251
#listResults{
1244
    li {
1252
    li {
1245
        background-color:#999999;
1246
        color:#C5C5C5;
1253
        color:#C5C5C5;
1247
        font-weight:normal;
1254
        font-weight:normal;
1248
        display:block;
1255
        display: inline-block;
1249
        margin-right:1px;
1250
        font-size: 80%;
1256
        font-size: 80%;
1251
        padding: 0;
1257
        padding: 0;
1252
        text-align:center;
1258
        text-align:center;
1253
        min-width:18px;
1254
        &:hover {
1255
            background-color:#006699;
1256
        }
1257
        a {
1259
        a {
1260
            background-color:#999999;
1258
            color:#FFFFFF;
1261
            color:#FFFFFF;
1262
            display: block;
1259
            font-weight:normal;
1263
            font-weight:normal;
1264
            min-width:18px;
1265
            text-decoration: none;
1266
            &:hover {
1267
                background-color:#006699;
1268
            }
1269
        }
1270
    }
1271
    .highlight {
1272
        a {
1273
            background-color: #616161;
1260
        }
1274
        }
1261
    }
1275
    }
1262
}
1276
}
1263
1277
1264
/* nav */
1278
/* nav */
1265
.nav_pages {
1279
.nav_pages {
1266
    .close_pagination {
1280
    border-top: 1px solid #DDD;
1267
        padding-right: 10px;
1281
    padding: .6em;
1268
        position: absolute;
1269
        right: 3px;
1270
        top: -25px;
1271
    }
1272
    .close_pagination a {
1273
        text-decoration:none!important;
1274
    }
1275
    ul {
1282
    ul {
1276
        padding-top: 10px;
1283
        display: inline-block;
1284
        margin: 0;
1285
        padding: 0;
1277
    }
1286
    }
1278
    li {
1287
    li {
1279
        list-style:none;
1288
        list-style:none;
1280
        float:left;
1281
        padding:4px;
1289
        padding:4px;
1282
        color:#999;
1290
        color:#999;
1283
        a {
1291
        a {
1284
            text-decoration:none!important;
1285
            &:hover {
1292
            &:hover {
1286
            text-decoration:underline;
1293
            text-decoration:underline;
1287
            }
1294
            }
1288
        }
1295
        }
1289
        ul {
1296
        ul {
1290
            float:left;
1291
        }
1297
        }
1292
    }
1298
    }
1293
}
1299
}
(-)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