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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-8 / +1 lines)
Lines 12-19 Link Here
12
<style>
12
<style>
13
    .sql { display: none; }
13
    .sql { display: none; }
14
    .ulined { text-decoration: underline; }
14
    .ulined { text-decoration: underline; }
15
    .ratiolimit:link { color: blue; cursor: pointer; }
16
    .ratiolimit:hover { color: blue; text-decoration: underline; }
17
    #holdst ul li {  list-style: outside url("[% interface | html %]/[% theme | html %]/img/item-bullet.gif") disc; }
15
    #holdst ul li {  list-style: outside url("[% interface | html %]/[% theme | html %]/img/item-bullet.gif") disc; }
18
</style>
16
</style>
19
</head>
17
</head>
Lines 70-76 Link Here
70
        <tr>
68
        <tr>
71
            <td><p>[% reserveloo.reservecount | html %]</p></td>
69
            <td><p>[% reserveloo.reservecount | html %]</p></td>
72
            <td><p>[% reserveloo.itemcount | html %]</p></td>
70
            <td><p>[% reserveloo.itemcount | html %]</p></td>
73
            <td><a href="#" class="ratiolimit">[% reserveloo.thisratio | html %]</a></td>
71
            <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber | uri %]" >[% reserveloo.thisratio | html %]</a></td>
74
            <td>
72
            <td>
75
                [% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
73
                [% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
76
            </td>
74
            </td>
Lines 195-204 Link Here
195
    <script>
193
    <script>
196
        var columns_settings = [% TablesSettings.GetColumns( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
194
        var columns_settings = [% TablesSettings.GetColumns( 'circ', 'holdsratios', 'holds-ratios', 'json' ) | $raw %];
197
        $(document).ready(function() {
195
        $(document).ready(function() {
198
            $(".ratiolimit").on("click", function(e) {
199
                e.preventDefault();
200
                $("#ratio").val($(this).html());
201
            });
202
            KohaTable("holdst", {
196
            KohaTable("holdst", {
203
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
197
                "aaSorting": [ [2,'desc'], [3,'asc'] ],
204
                  "aoColumnDefs": [
198
                  "aoColumnDefs": [
205
- 

Return to bug 28728