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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-11 / +15 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% title |html %]</title>
4
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% title |html %]</title>
Lines 7-19 Link Here
7
<script type="text/javascript" id="js">
8
<script type="text/javascript" id="js">
8
$(document).ready(function() {
9
$(document).ready(function() {
9
    $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
10
    $("#table_issues").dataTable($.extend(true, {}, dataTablesDefaults, {
10
            "aoColumns": [
11
        "aoColumnDefs": [
11
                null,null,null,null,{ "sType": "title-string" },{ "sType": "title-string" },{ "sType": "title-string" }
12
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
12
            ],
13
        ],
13
            "aaSorting": [[ 4, "desc" ]],
14
        "aaSorting": [[ 4, "desc" ]],
14
            "sPaginationType": "full_numbers"
15
        "sPaginationType": "full_numbers"
15
        })
16
    }));
16
    );
17
}); </script>
17
}); </script>
18
18
19
</head>
19
</head>
Lines 38-55 $(document).ready(function() { Link Here
38
        <h4>Checked out [% total %] times</h4>
38
        <h4>Checked out [% total %] times</h4>
39
        <table id="table_issues">
39
        <table id="table_issues">
40
            <thead><tr>
40
            <thead><tr>
41
            [% IF Koha.Preference('intranetreadinghistory') %]
41
            <th>Patron</th>
42
            <th>Patron</th>
43
            [% END %]
42
            <th>Barcode</th>
44
            <th>Barcode</th>
43
            <th>Checked out from</th>
45
            <th>Checked out from</th>
44
            <th>Renewed</th>
46
            <th>Renewed</th>
45
            <th>Checkout on</th>
47
            <th class='title-string'>Checkout on</th>
46
            <th>Due date</th>
48
            <th class='title-string'>Due date</th>
47
            <th>Checkin on</th>
49
            <th class='title-string'>Checkin on</th>
48
            </tr></thead>
50
            </tr></thead>
49
            <tbody>
51
            <tbody>
50
        [% FOREACH issue IN issues %]
52
        [% FOREACH issue IN issues %]
51
        [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
53
            <tr>
54
                [% IF Koha.Preference('intranetreadinghistory') %]
52
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td>
55
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td>
56
                [% END %]
53
                <td>[% IF ( issue.barcode ) %]
57
                <td>[% IF ( issue.barcode ) %]
54
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&amp;itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a>
58
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&amp;itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a>
55
                    [% ELSE %]
59
                    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-2 / +3 lines)
Lines 48-54 Link Here
48
[% INCLUDE 'members-toolbar.inc' %]
48
[% INCLUDE 'members-toolbar.inc' %]
49
<h1>Circulation history</h1>
49
<h1>Circulation history</h1>
50
50
51
[% IF is_anonymous %]
51
[% UNLESS Koha.Preference('intranetreadinghistory') %]
52
    <div class="dialog alert">Staff members are not allowed to access patron's checkout history</div>
53
[% ELSIF is_anonymous %]
52
    <div class="dialog alert">This is the anonymous patron, so no circulation history is displayed. To get a list of anonymized loans, please run a report.</div>
54
    <div class="dialog alert">This is the anonymous patron, so no circulation history is displayed. To get a list of anonymized loans, please run a report.</div>
53
[% ELSIF ( !loop_reading ) %]
55
[% ELSIF ( !loop_reading ) %]
54
    <div class="dialog message">This patron has no circulation history.</div>
56
    <div class="dialog message">This patron has no circulation history.</div>
55
- 

Return to bug 10866