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

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 148-154 sub article_request_type { Link Here
148
      :                                      undef;
148
      :                                      undef;
149
    my $borrowertype = $borrower->categorycode;
149
    my $borrowertype = $borrower->categorycode;
150
    my $itemtype = $self->effective_itemtype();
150
    my $itemtype = $self->effective_itemtype();
151
    my $rules = GetIssuingRule( $borrowertype, $itemtype, $branchcode );
151
    my $rules = C4::Circulation::GetIssuingRule( $borrowertype, $itemtype, $branchcode );
152
152
153
    return $rules->{article_requests} || q{};
153
    return $rules->{article_requests} || q{};
154
}
154
}
(-)a/admin/smart-rules.pl (+2 lines)
Lines 147-152 elsif ($op eq 'add') { Link Here
147
    my $hardduedatecompare = $input->param('hardduedatecompare');
147
    my $hardduedatecompare = $input->param('hardduedatecompare');
148
    my $rentaldiscount = $input->param('rentaldiscount');
148
    my $rentaldiscount = $input->param('rentaldiscount');
149
    my $opacitemholds = $input->param('opacitemholds') || 0;
149
    my $opacitemholds = $input->param('opacitemholds') || 0;
150
    my $article_requests = $input->param('article_requests') || 'no';
150
    my $overduefinescap = $input->param('overduefinescap') || undef;
151
    my $overduefinescap = $input->param('overduefinescap') || undef;
151
    my $cap_fine_to_replacement_price = $input->param('cap_fine_to_replacement_price') eq 'on';
152
    my $cap_fine_to_replacement_price = $input->param('cap_fine_to_replacement_price') eq 'on';
152
    $debug and warn "Adding $br, $bor, $itemtype, $fine, $maxissueqty, $maxonsiteissueqty, $cap_fine_to_replacement_price";
153
    $debug and warn "Adding $br, $bor, $itemtype, $fine, $maxissueqty, $maxonsiteissueqty, $cap_fine_to_replacement_price";
Lines 177-182 elsif ($op eq 'add') { Link Here
177
        opacitemholds                 => $opacitemholds,
178
        opacitemholds                 => $opacitemholds,
178
        overduefinescap               => $overduefinescap,
179
        overduefinescap               => $overduefinescap,
179
        cap_fine_to_replacement_price => $cap_fine_to_replacement_price,
180
        cap_fine_to_replacement_price => $cap_fine_to_replacement_price,
181
        article_requests              => $article_requests,
180
    };
182
    };
181
183
182
    my $issuingrule = Koha::IssuingRules->find({categorycode => $bor, itemtype => $itemtype, branchcode => $br});
184
    my $issuingrule = Koha::IssuingRules->find({categorycode => $bor, itemtype => $itemtype, branchcode => $br});
(-)a/circ/article-request-slip.pl (+67 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2015 ByWater Solutions
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw( -utf8 );
23
24
use C4::Context;
25
use C4::Output;
26
use C4::Auth;
27
use Koha::ArticleRequests;
28
29
my $cgi = new CGI;
30
31
my $id = $cgi->param('id');
32
33
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
34
    {
35
        template_name   => "circ/printslip.tt",
36
        query           => $cgi,
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
40
    }
41
);
42
43
my $ar = Koha::ArticleRequests->find($id);
44
45
$template->param( article_request => $ar );
46
47
my $slip = C4::Letters::GetPreparedLetter(
48
    module                 => 'circulation',
49
    letter_code            => 'AR_SLIP',
50
    message_transport_type => 'print',
51
    tables                 => {
52
        article_requests => $ar->id,
53
        borrowers        => $ar->borrowernumber,
54
        biblio           => $ar->biblionumber,
55
        biblioitems      => $ar->biblionumber,
56
        items            => $ar->itemnumber,
57
        branches         => $ar->branchcode,
58
    },
59
);
60
61
$template->param(
62
    slip   => $slip->{content},
63
    caller => 'article-request',
64
    plain  => !$slip->{is_html},
65
);
66
67
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/circ/article-requests.pl (+47 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2015 ByWater Solutions
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw ( -utf8 );
23
24
use C4::Auth;
25
use C4::Output;
26
use Koha::ArticleRequests;
27
28
my $query = new CGI;
29
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
30
    {
31
        template_name   => "circ/article-requests.tt",
32
        query           => $query,
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
36
    }
37
);
38
39
my $branchcode = defined( $query->param('branchcode') ) ? $query->param('branchcode') : C4::Context->userenv->{'branch'};
40
41
$template->param(
42
    branchcode                  => $branchcode,
43
    article_requests_pending    => scalar Koha::ArticleRequests->pending($branchcode),
44
    article_requests_processing => scalar Koha::ArticleRequests->processing($branchcode),
45
);
46
47
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/circ/request-article-do.pl (+62 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright ByWater Solutions 2015
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw ( -utf8 );
23
24
use C4::Auth;
25
use C4::Output;
26
27
use Koha::ArticleRequest;
28
29
my $cgi = new CGI;
30
31
checkauth( $cgi, 0, { circulate => 'circulate_remaining_permissions' }, 'intranet' );
32
33
my $biblionumber   = $cgi->param('biblionumber');
34
my $borrowernumber = $cgi->param('borrowernumber');
35
my $branchcode     = $cgi->param('branchcode');
36
37
my $itemnumber = $cgi->param('itemnumber') || undef;
38
my $title      = $cgi->param('title')      || undef;
39
my $author     = $cgi->param('author')     || undef;
40
my $volume     = $cgi->param('volume')     || undef;
41
my $issue      = $cgi->param('issue')      || undef;
42
my $date       = $cgi->param('date')       || undef;
43
my $pages      = $cgi->param('pages')      || undef;
44
my $chapters   = $cgi->param('chapters')   || undef;
45
46
my $ar = Koha::ArticleRequest->new(
47
    {
48
        borrowernumber => $borrowernumber,
49
        biblionumber   => $biblionumber,
50
        branchcode     => $branchcode,
51
        itemnumber     => $itemnumber,
52
        title          => $title,
53
        author         => $author,
54
        volume         => $volume,
55
        issue          => $issue,
56
        date           => $date,
57
        pages          => $pages,
58
        chapters       => $chapters,
59
    }
60
)->store();
61
62
print $cgi->redirect("/cgi-bin/koha/circ/request-article.pl?biblionumber=$biblionumber");
(-)a/circ/request-article.pl (+74 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2015 ByWater Solutions
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use C4::Output;
23
use C4::Auth;
24
use C4::Utils::DataTables::Members;
25
use Koha::Biblios;
26
use Koha::Borrowers;
27
use Koha::ArticleRequests;
28
29
my $input = new CGI;
30
31
my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user(
32
    {
33
        template_name   => "circ/request-article.tt",
34
        query           => $input,
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
38
    }
39
);
40
41
my $biblionumber      = $input->param('biblionumber');
42
my $patron_cardnumber = $input->param('patron_cardnumber');
43
my $patron_id         = $input->param('patron_id');
44
45
my $biblio = Koha::Biblios->find($biblionumber);
46
my $patron = Koha::Borrowers->find( $patron_id ? $patron_id : { cardnumber => $patron_cardnumber } );
47
48
if (!$patron && $patron_cardnumber) {
49
    my $results = C4::Utils::DataTables::Members::search(
50
        {
51
            searchmember => $patron_cardnumber,
52
            dt_params    => { iDisplayLength => -1 },
53
        }
54
    );
55
56
    my $patrons = $results->{patrons};
57
58
    if ( scalar @$patrons == 1 ) {
59
        $patron = Koha::Borrowers->find( $patrons->[0]->{borrowernumber} );
60
    }
61
    elsif (@$patrons) {
62
        $template->param( patrons => $patrons );
63
    }
64
    else {
65
        $template->param( no_patrons_found => $patron_cardnumber );
66
    }
67
}
68
69
$template->param(
70
    biblio => $biblio,
71
    patron => $patron,
72
);
73
74
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-3 / +3 lines)
Lines 1831-1838 ul.budget_hierarchy li:first-child:after { Link Here
1831
.child_fund_amount {
1831
.child_fund_amount {
1832
    font-style: italic;
1832
    font-style: italic;
1833
}
1833
}
1834
.holdcount { font-size : 105%; line-height : 200%; }
1834
.number_box { font-size : 105%; line-height : 200%; }
1835
.holdcount a {
1835
.number_box a {
1836
	border : 1px solid #a4bedd;
1836
	border : 1px solid #a4bedd;
1837
	background-color : #e4ecf5;
1837
	background-color : #e4ecf5;
1838
	font-weight : bold;
1838
	font-weight : bold;
Lines 1841-1847 ul.budget_hierarchy li:first-child:after { Link Here
1841
	padding : .1em .4em;
1841
	padding : .1em .4em;
1842
	text-decoration : none;
1842
	text-decoration : none;
1843
}
1843
}
1844
.holdcount a:hover { background-color : #ebeff7; }
1844
.number_box a:hover { background-color : #ebeff7; }
1845
.container {
1845
.container {
1846
	border : 1px solid #EEE;
1846
	border : 1px solid #EEE;
1847
	padding : 1em;
1847
	padding : 1em;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-33 / +51 lines)
Lines 1-38 Link Here
1
[% USE Koha %]
1
[% USE Biblio %]
2
[% USE Biblio %]
2
[% SET biblio_object_id = object || biblionumber %]
3
[% SET biblio_object_id = object || biblionumber %]
4
3
<div id="menu">
5
<div id="menu">
4
<ul>
6
    <ul>
5
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
7
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
6
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]">Normal</a></li>
8
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]">Normal</a></li>
7
9
8
[% IF ( can_view_MARC ) %]
10
        [% IF ( can_view_MARC ) %]
9
[% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %]
11
            [% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %]
10
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id %]">MARC</a></li>
12
             <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id %]">MARC</a></li>
11
[% END %]
13
        [% END %]
12
14
13
[% IF ( can_view_labeledMARC ) %]
15
        [% IF ( can_view_labeledMARC ) %]
14
    [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %]
16
            [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %]
15
	<a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id %]">Labeled MARC</a></li>
17
            <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id %]">Labeled MARC</a></li>
16
[% END %]
18
        [% END %]
17
19
18
[% IF ( can_view_ISBD ) %]
20
        [% IF ( can_view_ISBD ) %]
19
    [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %]
21
            [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %]
20
    <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id %]">ISBD</a></li>
22
            <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id %]">ISBD</a></li>
21
[% END %]
23
        [% END %]
22
24
23
    [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %]
25
        [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %]
24
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id %]">Items</a></li>
26
        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id %]">Items</a></li>
25
    [% IF ( CAN_user_reserveforothers ) %]
27
26
    [% IF ( holdsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id %]">Holds ([% Biblio.HoldsCount( biblio_object_id ) %])</a></li>
28
        [% IF ( CAN_user_reserveforothers ) %]
27
    [% END %]
29
            [% IF ( holdsview ) %]<li class="active">[% ELSE %]<li>[% END %]
28
    [% IF ( EasyAnalyticalRecords ) %][% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]&amp;analyze=1">Analytics</a></li>[% END %]
30
            <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id %]">Holds ([% Biblio.HoldsCount( biblio_object_id ) %])</a></li>
29
31
        [% END %]
30
    [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id %]">Subscription(s)</a></li>[% END %]
32
31
</ul>
33
        [% IF ( EasyAnalyticalRecords ) %]
32
<ul>
34
            [% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %]
33
[% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]
35
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]&amp;analyze=1">Analytics</a></li>
34
<a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id %]" >Checkout history</a></li>
36
        [% END %]
35
[% IF ( CAN_user_tools_view_system_logs ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id %]">Modification log</a> </li>[% END %]
37
36
</ul>
38
        [% IF Koha.Preference('ArticleRequests') %]
39
            [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
40
            <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object %][% ELSE %][% biblionumber %][% END %]">Article requests ([% Biblio.ArticleRequestsActiveCount( biblio_object_id ) %])</a></li>
41
        [% END %]
42
43
        [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id %]">Subscription(s)</a></li>[% END %]
44
    </ul>
45
46
    <ul>
47
        [% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]
48
        <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id %]" >Checkout history</a></li>
49
50
        [% IF ( CAN_user_tools_view_system_logs ) %]
51
            [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]
52
            <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id %]">Modification log</a> </li>
53
        [% END %]
54
    </ul>
37
</div>
55
</div>
38
56
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (+4 lines)
Lines 263-268 CAN_user_serials_create_subscription ) %] Link Here
263
    [% END %]
263
    [% END %]
264
[% END %]
264
[% END %]
265
265
266
[% IF Koha.Preference('ArticleRequests') %]
267
    <div class="btn-group"><a id="placehold" class="btn btn-small" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]"><i class="fa fa-file-text-o"></i> Request article</a></div>
268
[% END %]
269
266
</form>
270
</form>
267
</div>
271
</div>
268
272
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+43 lines)
Lines 722-724 Circulation: Link Here
722
            - "Patron categories allowed to checkout in a batch"
722
            - "Patron categories allowed to checkout in a batch"
723
            - pref: BatchCheckoutsValidCategories
723
            - pref: BatchCheckoutsValidCategories
724
            - "(list of patron categories separated with a pipe '|')"
724
            - "(list of patron categories separated with a pipe '|')"
725
    Article Requests:
726
        -
727
            - pref: ArticleRequests
728
              choices:
729
                  yes: Enable
730
                  no: "Don't enable"
731
            - patrons to place article requests.
732
        -
733
            - For records that are record level or item level requestable, make the following fields mandatory
734
            - pref: ArticleRequestsMandatoryFields
735
              multiple:
736
                title: Title
737
                author: Author
738
                volume: Volume
739
                issue: Issue
740
                date: Date
741
                pages: Pages
742
                chapters: Chapters
743
            -
744
        -
745
            - For records that are only record level requestable, make the following fields mandatory
746
            - pref: ArticleRequestsMandatoryFieldsRecordOnly
747
              multiple:
748
                title: Title
749
                author: Author
750
                volume: Volume
751
                issue: Issue
752
                date: Date
753
                pages: Pages
754
                chapters: Chapters
755
            -
756
        -
757
            - For records that are only item level requestable, make the following fields mandatory
758
            - pref: ArticleRequestsMandatoryFieldsItemOnly
759
              multiple:
760
                title: Title
761
                author: Author
762
                volume: Volume
763
                issue: Issue
764
                date: Date
765
                pages: Pages
766
                chapters: Chapters
767
            -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (+21 lines)
Lines 172-177 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
172
                <th>Holds allowed (count)</th>
172
                <th>Holds allowed (count)</th>
173
                <th>On shelf holds allowed</th>
173
                <th>On shelf holds allowed</th>
174
                <th>Item level holds</th>
174
                <th>Item level holds</th>
175
                <th>Article requests</th>
175
                <th>Rental discount (%)</th>
176
                <th>Rental discount (%)</th>
176
                <th colspan="2">&nbsp;</th>
177
                <th colspan="2">&nbsp;</th>
177
            </tr>
178
            </tr>
Lines 250-255 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
250
							<td>[% rule.reservesallowed %]</td>
251
							<td>[% rule.reservesallowed %]</td>
251
                                                        <td>[% IF rule.onshelfholds %]Yes[% ELSE %]No[% END %]</td>
252
                                                        <td>[% IF rule.onshelfholds %]Yes[% ELSE %]No[% END %]</td>
252
                                                        <td>[% IF rule.opacitemholds == 'F'%]Force[% ELSIF rule.opacitemholds == 'Y'%]Allow[% ELSE %]Don't allow[% END %]</td>
253
                                                        <td>[% IF rule.opacitemholds == 'F'%]Force[% ELSIF rule.opacitemholds == 'Y'%]Allow[% ELSE %]Don't allow[% END %]</td>
254
                                                        <td>
255
                                                            [% IF rule.article_requests == 'no' %]
256
                                                                No
257
                                                            [% ELSIF rule.article_requests == 'yes' %]
258
                                                                Yes
259
                                                            [% ELSIF rule.article_requests == 'bib_only' %]
260
                                                                Record only
261
                                                            [% ELSIF rule.article_requests == 'item_only' %]
262
                                                                Item only
263
                                                            [% END %]
264
                                                        </td>
253
							<td>[% rule.rentaldiscount %]</td>
265
							<td>[% rule.rentaldiscount %]</td>
254
                            <td><a href="#" class="editrule">Edit</a></td>
266
                            <td><a href="#" class="editrule">Edit</a></td>
255
							<td>
267
							<td>
Lines 328-333 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
328
                            <option value="F">Force</option>
340
                            <option value="F">Force</option>
329
                        </select>
341
                        </select>
330
                    </td>
342
                    </td>
343
                    <td>
344
                        <select id="article_requests" name="article_requests">
345
                            <option value="no">No</option>
346
                            <option value="yes">Yes</option>
347
                            <option value="bib_only">Record only</option>
348
                            <option value="item_only">Item only</option>
349
                        </select>
350
                    </td>
331
                    <td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td>
351
                    <td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td>
332
                    <td colspan="2">
352
                    <td colspan="2">
333
                        <input type="hidden" name="branch" value="[% current_branch %]"/>
353
                        <input type="hidden" name="branch" value="[% current_branch %]"/>
Lines 359-364 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
359
                      <th>Holds allowed (count)</th>
379
                      <th>Holds allowed (count)</th>
360
                      <th>On shelf holds allowed</th>
380
                      <th>On shelf holds allowed</th>
361
                      <th>Item level holds</th>
381
                      <th>Item level holds</th>
382
                      <th>Article requests</th>
362
                      <th>Rental discount (%)</th>
383
                      <th>Rental discount (%)</th>
363
                      <th colspan="2">&nbsp;</th>
384
                      <th colspan="2">&nbsp;</th>
364
                    </tr>
385
                    </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +19 lines)
Lines 2-7 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Biblio %]
5
6
6
[% ShowCourseReserves = 0 %]
7
[% ShowCourseReserves = 0 %]
7
[% IF UseCourseReserves %]
8
[% IF UseCourseReserves %]
Lines 378-384 function verify_images() { Link Here
378
                    </span>
379
                    </span>
379
        [% END %]
380
        [% END %]
380
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
381
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
381
        [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
382
383
        [% IF ( holdcount ) %]
384
            <span class="results_summary">
385
                <span class="label">Holds:</span>
386
                <span class="number_box">
387
                    <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
388
                </span>
389
            </span>
390
        [% END %]
391
392
        [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
393
            <span class="results_summary">
394
                <span class="label">Article requests:</span>
395
                <span class="number_box">
396
                    <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
397
                </span>
398
            </span>
399
        [% END %]
382
400
383
        [% IF ( AmazonCoverImages  || LocalCoverImages ) %]
401
        [% IF ( AmazonCoverImages  || LocalCoverImages ) %]
384
        </div><div class="yui-u" id="bookcoverimg">
402
        </div><div class="yui-u" id="bookcoverimg">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (+3 lines)
Lines 567-572 var holdForPatron = function () { Link Here
567
                                  <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds</a>
567
                                  <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds</a>
568
                                  [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&amp;findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
568
                                  [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&amp;findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %]
569
                              [% END %]
569
                              [% END %]
570
                              [% IF Koha.Preference('ArticleRequests') %]
571
                                  | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a>
572
                              [% END %]
570
                          [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
573
                          [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
571
                          | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a>
574
                          | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a>
572
                          [% END %]
575
                          [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (+406 lines)
Line 0 Link Here
1
[% USE KohaDates %]
2
[% USE ItemTypes %]
3
[% USE Branches %]
4
[% USE AuthorisedValues %]
5
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Article requests</title>
8
[% INCLUDE 'doc-head-close.inc' %]
9
<style type="text/css"> p { margin-top: 0; }</style>
10
</head>
11
12
<body id="circ_view_holdsqueue" class="circ">
13
    [% INCLUDE 'header.inc' %]
14
    [% INCLUDE 'cat-search.inc' %]
15
16
    <script type="text/javascript">//<![CDATA[
17
        $(document).ready(function() {
18
            $('#article-request-tabs').tabs();
19
20
            [% IF article_requests_pending.count %]
21
                $(".ar-pending-none").hide();
22
            [% END %]
23
24
            [% IF article_requests_processing.count %]
25
                $(".ar-processing-none").hide();
26
            [% END %]
27
        });
28
29
        function PrintSlip(link) {
30
            window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top');
31
        }
32
33
        function Cancel( id, a ) {
34
            notes = prompt(_("Reason for cancelation:"));
35
            if ( notes == null ) {
36
                return;
37
            }
38
39
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
40
            a.closest('div').hide();
41
            $.ajax({
42
                type: "POST",
43
                url: '/cgi-bin/koha/svc/article_request',
44
                data: {
45
                    action: 'cancel',
46
                    id: id,
47
                    notes: notes
48
                },
49
                success: function( data ) {
50
                    a.closest('tr').remove();
51
                    UpdateTabCounts()
52
                },
53
                dataType: 'json'
54
            });
55
        }
56
57
        function Process( id, a ) {
58
            var table_row = a.closest('tr').clone();
59
            table_row.find('.ar-process-request').remove();
60
61
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
62
            a.closest('div').hide();
63
            $.ajax({
64
                type: "POST",
65
                url: '/cgi-bin/koha/svc/article_request',
66
                data: {
67
                    action: 'process',
68
                    id: id,
69
                },
70
                success: function( data ) {
71
                    a.closest('tr').remove();
72
                    $("#article-requests-processing-table").append( table_row );
73
                    UpdateTabCounts()
74
                },
75
                dataType: 'json'
76
            });
77
        }
78
79
        function Complete( id, a ) {
80
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
81
            a.closest('div').hide();
82
            $.ajax({
83
                type: "POST",
84
                url: '/cgi-bin/koha/svc/article_request',
85
                data: {
86
                    action: 'complete',
87
                    id: id,
88
                },
89
                success: function( data ) {
90
                    a.closest('tr').remove();
91
                    UpdateTabCounts()
92
                },
93
                dataType: 'json'
94
            });
95
        }
96
97
        function UpdateTabCounts() {
98
            var pending_count = $('#article-requests-pending-table tbody tr.ar-row').length;
99
            $("#ar_pending_count").html( pending_count );
100
            if ( pending_count == 0 ) $(".ar-pending-none").show();
101
102
            var processing_count = $('#article-requests-processing-table tbody tr.ar-row').length;
103
            $("#ar_processing_count").html( processing_count );
104
            if ( processing_count == 0 ) $(".ar-processing-none").show();
105
        }
106
    //]]></script>
107
108
    <div id="breadcrumbs">
109
        <a href="/cgi-bin/koha/mainpage.pl">Home</a>
110
        &rsaquo;
111
        <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
112
        &rsaquo;
113
        <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
114
    </div>
115
116
<div id="doc" class="yui-t7">
117
    <div id="bd">
118
        <div id="yui-main">
119
            <div class="yui-g">
120
121
                <h1>Article requests</h1>
122
123
                <form id="ar-branchcode-form" method="post">
124
                    <select name="branchcode" id="branchcode">
125
                        <option value="">All libraries</option>
126
                        [% FOREACH b IN Branches.all %]
127
                            [% IF b.branchcode == branchcode %]
128
                                <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
129
                            [% ELSE %]
130
                                <option value="[% b.branchcode %]">[% b.branchname %]</option>
131
                            [% END %]
132
                        [% END %]
133
                    </select>
134
                    <button type="submit" class="btn btn-small" type="submit">
135
                        <i class="fa fa-refresh"></i> Update
136
                    </button>
137
                </form>
138
139
                <div id="article-request-tabs" class="toptabs">
140
                    <ul>
141
                        <li>
142
                            <a href="#article-requests-pending">
143
                                Pending (<span id="ar_pending_count">[% article_requests_pending.count %]</span>)
144
                            </a>
145
                        </li>
146
147
                        <li>
148
                            <a href="#article-requests-processing">
149
                                Processing (<span id="ar_processing_count">[% article_requests_processing.count %]</span>)
150
                            </a>
151
                        </li>
152
                    </ul>
153
154
                    <div id="article-requests-pending">
155
                        <table id="article-requests-pending-table">
156
                            <thead>
157
                                <tr>
158
                                    <th class="ar-title">Title</th>
159
                                    <th class="ar-request">Requested article</th>
160
                                    <th class="ar-collection">Collection</th>
161
                                    <th class="ar-itemtype">Item type</th>
162
                                    <th class="ar-callnumber">Call number</th>
163
                                    <th class="ar-copynumber">Copy number</th>
164
                                    <th class="ar-enumchron">Enumeration</th>
165
                                    <th class="ar-barcode">Barcode</th>
166
                                    <th class="ar-patron">Patron</th>
167
                                    <th class="ar-date">Date</th>
168
                                    <th class="ar-actions">Actions</th>
169
                                </tr>
170
                            </thead>
171
172
                             <tbody>
173
                                <tr class="ar-pending-none">
174
                                    <td colspan="11">
175
                                        There are no pending article requests at this time.
176
                                    </td>
177
                                </tr>
178
179
                                [% FOREACH ar IN article_requests_pending %]
180
                                    <tr class="ar-row ar-pending">
181
                                        <td class="ar-title">
182
                                            <p>
183
                                                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]">
184
                                                    <strong>[% ar.biblio.title | html %]</strong>
185
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
186
                                                </a>
187
                                            </p>
188
189
                                            <p>
190
                                                <div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div>
191
                                                <div class="ar-author">[% ar.biblio.author %]</div>
192
                                                <div class="ar-pubdata">
193
                                                    [% ar.biblio.biblioitem.publishercode %]
194
195
                                                    [% IF ar.biblio.biblioitem.publicationyear %]
196
                                                        , [% ar.biblio.biblioitem.publicationyear %]
197
                                                    [% ELSIF ar.biblio.copyrightdate %]
198
                                                        , [% ar.biblio.copyrightdate %]
199
                                                    [% END %]
200
201
                                                    [% IF ar.biblio.biblioitem.pages %]
202
                                                        : [% ar.biblio.biblioitem.pages %]
203
                                                    [% END %]
204
205
                                                    [%  r.biblio.biblioitem.size %]
206
207
                                                    [% IF ar.biblio.biblioitem.isbn %]
208
                                                        ISBN: [% ar.biblio.biblioitem.isbn %]
209
                                                    [% END %]
210
                                                </div>
211
                                            </p>
212
                                        </td>
213
                                        <td class="ar-request">
214
                                            [% IF ar.title %]    <p><strong>Title:</strong>    [% ar.title %]    </p> [% END %]
215
                                            [% IF ar.author %]   <p><strong>Author:</strong>   [% ar.author %]   </p> [% END %]
216
                                            [% IF ar.volume %]   <p><strong>Volume:</strong>   [% ar.volume %]   </p> [% END %]
217
                                            [% IF ar.issue %]    <p><strong>Issue:</strong>    [% ar.issue %]    </p> [% END %]
218
                                            [% IF ar.date %]     <p><strong>Date:</strong>     [% ar.date %]     </p> [% END %]
219
                                            [% IF ar.pages %]    <p><strong>Pages:</strong>    [% ar.pages %]    </p> [% END %]
220
                                            [% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %]
221
                                        </td>
222
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
223
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
224
                                        <td class="ar-callnumber">
225
                                            [% IF ar.item.location %]
226
                                                <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em>
227
                                            [% END %]
228
229
                                            [% ar.item.itemcallnumber %]
230
                                        </td>
231
                                        <td class="ar-copynumber">[% ar.item.copynumber %]</td>
232
                                        <td class="ar-enumchron">[% ar.item.enumchron %]</td>
233
                                        <td class="ar-barcode">[% ar.item.barcode %]</td>
234
                                        <td class="ar-patron">
235
                                            <p>
236
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]">
237
                                                    [% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %])
238
                                                </a>
239
                                            </p>
240
241
                                            <p>[% ar.borrower.phone %]</p>
242
                                        </td>
243
                                        <td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td>
244
                                        <td class="ar-actions">
245
                                            <div class="dropdown">
246
                                                <a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
247
                                                    Actions <b class="caret"></b>
248
                                                </a>
249
250
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
251
                                                    <li>
252
                                                        <a class="ar-process-request" href="#" onclick="Process( [% ar.id %], $(this) ); return false;">
253
                                                            <i class="icon-ok-circle"></i>
254
                                                            Process request
255
                                                        </a>
256
257
                                                        <a class="ar-complete-request" href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
258
                                                            <i class="icon-ok-circle"></i>
259
                                                            Complete request
260
                                                        </a>
261
262
                                                        <a class="ar-cancel-request" href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
263
                                                            <i class="icon-remove-circle"></i>
264
                                                            Cancel request
265
                                                        </a>
266
267
                                                        <a class="ar-print-request" href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
268
                                                            <i class="icon-print"></i>
269
                                                            Print slip
270
                                                        </a>
271
                                                    </li>
272
                                                </ul>
273
                                            </div>
274
                                        </td>
275
                                    </tr>
276
                                [% END %]
277
                            </tbody>
278
                        </table>
279
                    </div>
280
281
                    <div id="article-requests-processing">
282
                        <table id="article-requests-processing-table">
283
                            <thead>
284
                                <tr>
285
                                    <th class="ar-title">Title</th>
286
                                    <th class="ar-request">Requested article</th>
287
                                    <th class="ar-collection">Collection</th>
288
                                    <th class="ar-itemtype">Item type</th>
289
                                    <th class="ar-callnumber">Call number</th>
290
                                    <th class="ar-copynumber">Copy number</th>
291
                                    <th class="ar-enumchron">Enumeration</th>
292
                                    <th class="ar-barcode">Barcode</th>
293
                                    <th class="ar-patron">Patron</th>
294
                                    <th class="ar-date">Date</th>
295
                                    <th class="ar-actions">Actions</th>
296
                                </tr>
297
                            </thead>
298
299
                             <tbody>
300
                                <tr class="ar-processing-none">
301
                                    <td colspan="11">
302
                                        There are no article requests in processing at this time.
303
                                    </td>
304
                                </tr>
305
306
                                [% FOREACH ar IN article_requests_processing %]
307
                                    <tr class="ar-row ar-processing">
308
                                        <td class="ar-title">
309
                                            <p>
310
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]">
311
                                                    <strong>[% ar.biblio.title | html %]</strong>
312
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]
313
                                                </a>
314
                                            </p>
315
316
                                            <p>
317
                                                <div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div>
318
                                                <div class="ar-author">[% ar.biblio.author %]</div>
319
                                                <div class="ar-pubdata">
320
                                                    [% ar.biblio.biblioitem.publishercode %]
321
322
                                                    [% IF ar.biblio.biblioitem.publicationyear %]
323
                                                        , [% ar.biblio.biblioitem.publicationyear %]
324
                                                    [% ELSIF ar.biblio.copyrightdate %]
325
                                                        , [% ar.biblio.copyrightdate %]
326
                                                    [% END %]
327
328
                                                    [% IF ar.biblio.biblioitem.pages %]
329
                                                        : [% ar.biblio.biblioitem.pages %]
330
                                                    [% END %]
331
332
                                                    [%  r.biblio.biblioitem.size %]
333
334
                                                    [% IF ar.biblio.biblioitem.isbn %]
335
                                                        ISBN: [% ar.biblio.biblioitem.isbn %]
336
                                                    [% END %]
337
                                                </div>
338
                                            </p>
339
                                        </td>
340
                                        <td class="ar-request">
341
                                            [% IF ar.title %]    <p><strong>Title:</strong>    [% ar.title %]    </p> [% END %]
342
                                            [% IF ar.author %]   <p><strong>Author:</strong>   [% ar.author %]   </p> [% END %]
343
                                            [% IF ar.volume %]   <p><strong>Volume:</strong>   [% ar.volume %]   </p> [% END %]
344
                                            [% IF ar.issue %]    <p><strong>Issue:</strong>    [% ar.issue %]    </p> [% END %]
345
                                            [% IF ar.date %]     <p><strong>Date:</strong>     [% ar.date %]     </p> [% END %]
346
                                            [% IF ar.pages %]    <p><strong>Pages:</strong>    [% ar.pages %]    </p> [% END %]
347
                                            [% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %]
348
                                        </td>
349
                                        <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td>
350
                                        <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td>
351
                                        <td class="ar-callnumber">
352
                                            [% IF ar.item.location %]
353
                                                <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em>
354
                                            [% END %]
355
356
                                            [% ar.item.itemcallnumber %]
357
                                        </td>
358
                                        <td class="ar-copynumber">[% ar.item.copynumber %]</td>
359
                                        <td class="ar-enumchron">[% ar.item.enumchron %]</td>
360
                                        <td class="ar-barcode">[% ar.item.barcode %]</td>
361
                                        <td class="ar-patron">
362
                                            <p>
363
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]">
364
                                                    [% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %])
365
                                                </a>
366
                                            </p>
367
368
                                            <p>[% ar.borrower.phone %]</p>
369
                                        </td>
370
                                        <td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td>
371
                                        <td class="ar-actions">
372
                                            <div class="dropdown">
373
                                                <a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#">
374
                                                    Actions <b class="caret"></b>
375
                                                </a>
376
377
                                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions">
378
                                                    <li>
379
                                                        <a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;">
380
                                                            <i class="icon-ok-circle"></i>
381
                                                            Complete request
382
                                                        </a>
383
384
                                                        <a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;">
385
                                                            <i class="icon-remove-circle"></i>
386
                                                            Cancel request
387
                                                        </a>
388
389
                                                        <a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;">
390
                                                            <i class="icon-print"></i>
391
                                                            Print slip
392
                                                        </a>
393
                                                    </li>
394
                                                </ul>
395
                                            </div>
396
                                        </td>
397
                                    </tr>
398
                                [% END %]
399
                            </tbody>
400
                        </table>
401
                    </div>
402
                </div>
403
            </div>
404
        </div>
405
    </div>
406
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (+5 lines)
Lines 41-46 Link Here
41
	<li>    <a href="/cgi-bin/koha/circ/pendingreserves.pl" title="holds to retrieve off the shelf">Holds to pull</a></li>
41
	<li>    <a href="/cgi-bin/koha/circ/pendingreserves.pl" title="holds to retrieve off the shelf">Holds to pull</a></li>
42
	<li>    <a href="/cgi-bin/koha/circ/waitingreserves.pl" title="holds waiting for patron pickup">Holds awaiting pickup</a></li>
42
	<li>    <a href="/cgi-bin/koha/circ/waitingreserves.pl" title="holds waiting for patron pickup">Holds awaiting pickup</a></li>
43
	<li>    <a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
43
	<li>    <a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
44
    [% IF Koha.Preference('ArticleRequests') %]
45
        <li>
46
            <a href="/cgi-bin/koha/circ/article-requests.pl" title="Article requests">Article requests</a>
47
        </li>
48
    [% END %]
44
	<li>    <a href="/cgi-bin/koha/circ/transferstoreceive.pl" title="transfers to receive at your library">Transfers to receive</a></li>
49
	<li>    <a href="/cgi-bin/koha/circ/transferstoreceive.pl" title="transfers to receive at your library">Transfers to receive</a></li>
45
     [% IF ( CAN_user_circulate_overdues_report ) %]<li>    <a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a>
50
     [% IF ( CAN_user_circulate_overdues_report ) %]<li>    <a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a>
46
	- <b>Warning:</b> This report is very resource intensive on
51
	- <b>Warning:</b> This report is very resource intensive on
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (+371 lines)
Line 0 Link Here
1
[% USE KohaDates %]
2
[% USE Branches %]
3
[% SET article_requests_view = 1 %]
4
[% SET biblionumber = biblio.biblionumber %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Request article</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
9
[% INCLUDE 'datatables.inc' %]
10
11
<script type="text/javascript">
12
// <![CDATA[
13
$('#current-article-requests').ready(function() {
14
    $(".hide").hide();
15
});
16
17
$(document).ready(function() {
18
    $( "#patron" ).autocomplete({
19
        source: "/cgi-bin/koha/circ/ysearch.pl",
20
        minLength: 3,
21
        select: function( event, ui ) {
22
            $( "#patron" ).val( ui.item.cardnumber );
23
            $( "#holds_patronsearch" ).submit();
24
            return false;
25
        }
26
    })
27
    .data( "ui-autocomplete" )._renderItem = function( ul, item ) {
28
        return $( "<li></li>" )
29
        .data( "ui-autocomplete-item", item )
30
        .append( "<a>" + item.surname + ", " + item.firstname +
31
                 " (" + item.cardnumber + ") <small>" + item.address +
32
                 " " + item.city + " " + item.zipcode + " " +
33
                 item.country + "</small></a>" )
34
        .appendTo( ul );
35
    };
36
37
    $( ".ar-update-branchcode" ).on('focus', function(){
38
        previous_branchcode = this.value;
39
    }).on('change', function(){
40
        var branchcode = this.value;
41
        var c = confirm(_("Are you sure you want to change the pickup library from %s to %s for this request?").format( previous_branchcode, branchcode ));
42
43
        if ( c ) {
44
            var id = this.id.split("branchcode-")[1];
45
            $("#update-processing-" + id ).css({opacity: 0, visibility: "visible"}).animate({opacity: 1.0}, 200);
46
47
            $.ajax({
48
                type: "POST",
49
                url: '/cgi-bin/koha/svc/article_request',
50
                data: {
51
                    action: 'update_branchcode',
52
                    id: id,
53
                    branchcode: branchcode,
54
                },
55
                success: function( data ) {
56
                    $("#update-processing-" + id ).css({opacity: 1.0, visibility: "visible"}).animate({opacity: 0}, 200);
57
                },
58
                dataType: 'json'
59
            });
60
61
        } else {
62
            this.value = previous_branchcode;
63
        }
64
    });
65
66
    $(".ar-cancel-request").on("click", function(){
67
        var a = $(this);
68
        var notes = prompt(_("Reason for cancellation:"));
69
70
        if ( notes != null ) {
71
            var id = this.id.split("cancel-")[1];
72
            $("#cancel-processing-" + id ).hide('slow');
73
            $("#cancel-processing-spinner-" + id ).show('slow');
74
75
            $.ajax({
76
                type: "POST",
77
                url: '/cgi-bin/koha/svc/article_request',
78
                data: {
79
                    action: 'cancel',
80
                    id: id,
81
                    notes: notes
82
                },
83
                success: function( data ) {
84
                    a.parents('tr').hide('slow');
85
                },
86
                dataType: 'json'
87
            });
88
        }
89
    });
90
});
91
// ]]>
92
</script>
93
</head>
94
95
<body id="circ_article_request" class="catalog">
96
    [% INCLUDE 'header.inc' %]
97
    [% INCLUDE 'circ-search.inc' %]
98
99
    <div id="breadcrumbs">
100
        <a href="/cgi-bin/koha/mainpage.pl">Home</a>
101
        &rsaquo;
102
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
103
        &rsaquo;
104
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title | html %]</a>
105
        &rsaquo;
106
        Request article
107
    </div>
108
109
    <div id="doc3" class="yui-t2">
110
        <div id="bd">
111
            <div id="yui-main">
112
                <div class="yui-b">
113
114
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1>
115
                    [% IF no_patrons_found %]
116
                        <div class="dialog alert">
117
                            <h3>Patron not found</h3>
118
                            <p>No patron with this name, please, try another</p>
119
                        </div>
120
                    [% ELSIF patrons %]
121
                        <form id="article_request_patron_results" method="post">
122
                            <fieldset>
123
                                <table id="table_borrowers">
124
                                    <thead>
125
                                        <tr>
126
                                            <th></th>
127
                                            <th>Name</th>
128
                                            <th>Cardnumber</th>
129
                                            <th>Category</th>
130
                                            <th>Library</th>
131
                                            <th>Address</th>
132
                                        </tr>
133
                                    </thead>
134
                                    <tbody>
135
                                        [% FOREACH patron IN patrons %]
136
                                            <tr>
137
                                                <td><input type="radio" name="patron_id" value="[% patron.borrowernumber %]"/></td>
138
                                                <td>[% patron.surname %], [% patron.firstname %]</td>
139
                                                <td>[% patron.cardnumber %]</td>
140
                                                <td>[% patron.categorycode %]</td>
141
                                                <td>[% patron.branchcode %]</td>
142
                                                <td>[% patron.address %]</td>
143
                                            </tr>
144
                                        [% END %]
145
                                    </tbody>
146
                                </table>
147
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
148
                                <fieldset class="action"><input type="submit" value="Select" /></fieldset>
149
                            </fieldset>
150
                        </form>
151
                    [% ELSIF !patron %]
152
                        <form id="article_requests_patronsearch" action="request-article.pl" method="post">
153
                            <fieldset class="brief">
154
                                <label for="patron">Patron: </label>
155
                                <div class="hint">Enter patron card number or partial name:</div>
156
                                <input type="text" size="40" id="patron" class="focus" name="patron_cardnumber" />
157
                                <input type="submit" value="Search" />
158
                                <input type="hidden" name="biblionumber" value="[% biblio.id %]" />
159
                            </fieldset>
160
                        </form>
161
                    [% ELSE %]
162
                        [% IF biblio.can_article_request( patron ) %]
163
164
                            <form id="place-article-request" method="post" action="/cgi-bin/koha/circ/request-article-do.pl">
165
                                <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblio.biblionumber %]" />
166
                                <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.id %]" />
167
168
                                <fieldset class="rows">
169
                                    <legend>Place article request from [% biblio.title %] for [% patron.firstname %] [% patron.surname %] ( [% patron.cardnumber %] )</legend>
170
                                    <p/>
171
                                    <ul>
172
                                        <li>
173
                                            <label for="title">Title:</label>
174
                                            <input type="text" name="title" id="title" size="50"/>
175
                                        </li>
176
177
                                        <li>
178
                                            <label for="author">Author:</label>
179
                                            <input type="text" name="author" id="author" size="50"/>
180
                                        </li>
181
182
                                        <li>
183
                                            <label for="volume">Volume:</label>
184
                                            <input type="text" name="volume" id="volume" size="50"/>
185
                                        </li>
186
187
                                        <li>
188
                                            <label for="issue">Issue:</label>
189
                                            <input type="text" name="issue" id="issue" size="50"/>
190
                                        </li>
191
192
                                        <li>
193
                                            <label for="date">Date:</label>
194
                                            <input type="text" name="date" id="date" size="50"/>
195
                                        </li>
196
197
                                        <li>
198
                                            <label for="pages">Pages:</label>
199
                                            <input type="text" name="pages" id="pages" size="50"/>
200
                                        </li>
201
202
                                        <li>
203
                                            <label for="chapters">Chapters:</label>
204
                                            <input type="text" name="chapters" id="chapters" size="50"/>
205
                                        </li>
206
207
                                        <li>
208
                                            <label for="branchcode">Pickup library:</label>
209
                                            <select name="branchcode" id="branchcode">
210
                                                [% FOREACH b IN Branches.all %]
211
                                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
212
                                                        <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
213
                                                    [% ELSE %]
214
                                                        <option value="[% b.branchcode %]">[% b.branchname %]</option>
215
                                                    [% END %]
216
                                                [% END %]
217
                                            </select>
218
                                        </li>
219
                                    </ul>
220
                                </fieldset>
221
222
                                [% SET article_request_type = biblio.article_request_type( patron ) %]
223
                                [% IF article_request_type != 'bib_only' %]
224
                                    <table id="current-requests-table" class="ar-table table table-bordered table-striped">
225
                                        <caption>Select item:</caption>
226
                                        <thead>
227
                                            <tr>
228
                                                <th>&nbsp;</th>
229
                                                <th>Item type</th>
230
                                                <th>Barcode</th>
231
                                                <th>Home library</th>
232
                                                <th>Call number</th>
233
                                                <th>Enumeration</th>
234
                                            </tr>
235
                                        </thead>
236
237
                                        <tbody>
238
                                            [% FOREACH item IN biblio.items %]
239
                                                [% IF item.can_article_request( patron ) %]
240
                                                    <tr>
241
                                                        <td>
242
                                                            [% IF article_request_type == 'item_only' && !checked %]
243
                                                                [% SET checked = 1 %]
244
                                                                <input type="radio" name="itemnumber" value="[% item.itemnumber %]" checked="checked" />
245
                                                            [% ELSE %]
246
                                                                <input type="radio" name="itemnumber" value="[% item.itemnumber %]" />
247
                                                            [% END %]
248
                                                        </td>
249
                                                        <td>
250
                                                            [% item.itype %]
251
                                                        </td>
252
                                                        <td>
253
                                                            [% item.barcode %]
254
                                                        </td>
255
                                                        <td>
256
                                                            [% item.homebranch %]
257
                                                        </td>
258
                                                        <td>
259
                                                            [% item.itemcallnumber %]
260
                                                        </td>
261
                                                        <td>
262
                                                            [% item.enumchron %]
263
                                                        </td>
264
                                                    </tr>
265
                                                [% END %]
266
                                            [% END %]
267
268
                                            [% IF article_request_type != 'item_only' %]
269
                                                <tr>
270
                                                    <td>
271
                                                        <input type="radio" name="itemnumber" value="" checked="checked"/>
272
                                                    </td>
273
                                                    <td colspan="5">
274
                                                        Any item
275
                                                    </td>
276
                                                </tr>
277
                                            [% END %]
278
                                        </tbody>
279
                                    </table>
280
                                [% END %]
281
282
                                <p>
283
                                    <input type="submit" class="btn" value="Place request" />
284
                                </p>
285
                            </form>
286
                        [% ELSE %]
287
                            No article requests can be made for this record.
288
                        [% END %]
289
290
                    [% END %]
291
292
                    [% IF biblio.article_requests_current && !patron %]
293
                        <fieldset class="rows left" id="current-article-requests-fieldset">
294
                            <legend>Current article requests</legend>
295
296
                            <table id="current-article-requests-table">
297
                                <tr>
298
                                    <th>Placed on</th>
299
                                    <th>Patron</th>
300
                                    <th>Title</th>
301
                                    <th>Author</th>
302
                                    <th>Volume</th>
303
                                    <th>Issue</th>
304
                                    <th>Date</th>
305
                                    <th>Pages</th>
306
                                    <th>Chapters</th>
307
                                    <th>Item</th>
308
                                    <th>Status</th>
309
                                    <th>Pickup library</th>
310
                                    <th>&nbsp;</th>
311
                                </tr>
312
313
                                [% FOREACH ar IN biblio.article_requests_current %]
314
                                    <tr>
315
                                        <td>[% ar.created_on | $KohaDates %]</td>
316
                                        <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ar.borrowernumber %]">[% ar.borrower.firstname %] [% ar.borrower.surname %]</a></td>
317
                                        <td>[% ar.title %]</td>
318
                                        <td>[% ar.author %]</td>
319
                                        <td>[% ar.volume %]</td>
320
                                        <td>[% ar.issue %]</td>
321
                                        <td>[% ar.date %]</td>
322
                                        <td>[% ar.pages %]</td>
323
                                        <td>[% ar.chapters %]</td>
324
                                        <td>
325
                                            [% IF ar.item %]
326
                                                <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% ar.itemnumber %]&biblionumber=[% ar.biblionumber %]">[% ar.item.barcode %]</a>
327
                                            [% END %]
328
                                        </td>
329
                                        <td>
330
                                            [% IF ar.status == 'PENDING' %]
331
                                                Pending
332
                                            [% ELSIF ar.status == 'PROCESSING' %]
333
                                                Processing
334
                                            [% ELSIF ar.status == 'COMPLETED' %]
335
                                                Completed
336
                                            [% ELSIF ar.status == 'CANCELED' %]
337
                                                Canceled
338
                                            [% END %]
339
                                        </td>
340
                                        <td>
341
                                            <i id="update-processing-[% ar.id %]" class="fa fa-cog fa-spin hidden"></i>
342
                                            <select name="branchcode" id="branchcode-[% ar.id %]" class="ar-update-branchcode">
343
                                                [% FOREACH b IN Branches.all %]
344
                                                    [% IF b.branchcode == ar.branchcode %]
345
                                                        <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
346
                                                    [% ELSE %]
347
                                                        <option value="[% b.branchcode %]">[% b.branchname %]</option>
348
                                                    [% END %]
349
                                                [% END %]
350
                                            </select>
351
                                        </td>
352
                                        <td>
353
                                            <a title="Cancel article request" href="#" id="cancel-[% ar.id %]" class="ar-cancel-request">
354
                                                <i id="cancel-processing-spinner-[% ar.id %]" class="fa fa-cog fa-spin hide"></i>
355
                                                <i id="cancel-processing-[% ar.id %]" class="fa fa-times fa-lg" style="color:red"></i>
356
                                            </a>
357
                                        </td>
358
                                    </tr>
359
                                [% END %]
360
                            </table>
361
                        </fieldset>
362
                    [% END %]
363
                </div>
364
            </div>
365
366
            <div class="yui-b">
367
                [% INCLUDE 'biblio-view-menu.inc' %]
368
            </div>
369
        </div>
370
    </div>
371
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (+9 lines)
Lines 114-121 Link Here
114
                    || ( CAN_user_borrowers && pending_borrower_modifications )
114
                    || ( CAN_user_borrowers && pending_borrower_modifications )
115
                    || ( CAN_user_acquisition && pendingsuggestions )
115
                    || ( CAN_user_acquisition && pendingsuggestions )
116
                    || ( CAN_user_borrowers && pending_discharge_requests )
116
                    || ( CAN_user_borrowers && pending_discharge_requests )
117
                    || pending_article_requests
117
            ) %]
118
            ) %]
118
                <div id="area-pending">
119
                <div id="area-pending">
120
                    [% IF pending_article_requests %]
121
                    <div class="pending-info" id="article_requests_pending">
122
123
                        <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>:
124
                        <span class="pending-number-link">[% pending_article_requests %]</span>
125
                    </div>
126
                    [% END %]
127
119
                    [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
128
                    [% IF ( CAN_user_acquisition && pendingsuggestions ) %]
120
                    <div class="pending-info" id="suggestions_pending">
129
                    <div class="pending-info" id="suggestions_pending">
121
130
(-)a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css (-1 / +1 lines)
Line 1 Link Here
1
a,a:visited{color:#0076B2}h1,h2,h3{line-height:150%}a.title,caption,legend{font-weight:700}#moresearches,#news{margin:.5em 0}.authref .label,.authres_notes,.newsfooter,.shelvingloc{font-style:italic}.item-thumbnail,td img{max-width:none}#action li,#marc .results_summary ul,.breadcrumb,.nav_pages li,.pagination_list li,.pg_menu li,.statictabs li,.statictabs ul,.tags ul,.ui-menu li,ul.ui-tabs-nav li{list-style:none}#cartmenulink,#i18nMenu .dropdown-menu li p,#moresearches li,#plainmarc th,#views,.actions a,.expiration_date,.no-js .dateformat,.pg_menu,.reserve_date,.searchsuggestion,.statictabs li,.toolbar a,td .btn{white-space:nowrap}#authorSearch li,#menu li,#search-facets li,#subjectsList li,div.rows li,div.rows ol,fieldset.rows li,fieldset.rows ol{list-style-type:none}.shadowed{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.main,.ui-datepicker{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}body{background-color:#EAEAE6}body,html{height:100%}.no-js .dateformat{display:inline}.no-js .modal-body{padding:0}.js .dateformat,.no-js .selections-toolbar{display:none}#advsearches label,#basketcount,#booleansearch label{display:inline}#wrap{min-height:100%;height:auto!important;height:100%}.popup{padding-left:0;padding-right:0}a.cancel{padding-left:1em}a.title{font-size:108%}a.btn:visited{color:#333}a.btn-primary:visited{color:#FFF}.ui-widget-content a,.ui-widget-content a:visited{color:#0076B2}h1{font-size:140%}h1#libraryname{background:url(../images/logo-koha.png) 0 no-repeat;border:0;float:left!important;margin:0;padding:0;width:120px}.actions a.addtocart,.actions a.addtoshelf,.actions a.hold{background-image:url(../images/sprite.png);background-repeat:no-repeat}h1#libraryname a{border:0;cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:40px 0 0;text-decoration:none;width:120px}h2{font-size:130%}h3{font-size:120%}h4{font-size:110%}h5{font-size:100%}caption{font-size:120%;margin:0;text-align:left}input,textarea{width:auto}.input-fluid{width:50%}legend{font-size:110%}table,td{background-color:#FFF}td .btn-link{padding:0}#basketcount{margin:0;padding:0}#basketcount span{background-color:#FFC;color:#000;display:inline;font-size:80%;font-weight:400;margin:0 0 0 .9em;padding:0 .3em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#members{display:block}#members p{color:#EEE}#members a{color:#A6D8ED;font-weight:700}#members a.logout{color:#E8583C;padding:0 .3em}#koha_url p{color:#666;float:right;margin:0}#moresearches{padding:0 .8em}.newsbody,.newsheader{padding:8px}#moresearches li{display:inline}#moresearches li:after{content:" | "}#moresearches ul{margin:0}#moresearches li:last-child:after{content:""}.newscontainer{border:1px solid #ddd;border-bottom-width:0;border-top-left-radius:5px;border-top-right-radius:5px}.newsfooter,.newsheader{border-bottom:1px solid #ddd}.newsheader{background-color:#ecede6;margin:0}.newsfooter{padding:4px 8px}#opacheader{background-color:#DDD}#selections,.selections{font-weight:700}.actions a.hold{background-position:-5px -542px;margin-right:1em;padding-left:21px;text-decoration:none}.actions a.addtocart{background-position:-5px -572px;margin-right:1em;padding-left:20px;text-decoration:none}.actions a.addtolist,.actions a.addtoshelf{background-position:-5px -27px;padding-left:20px;margin-right:1em;text-decoration:none}.actions a.tag_add{background-position:-5px -1110px;margin-right:1em;padding-left:20px;text-decoration:none}.actions a.removefromlist{background-position:-8px -690px;margin-right:1em;text-decoration:none;padding-left:15px}.alert{background:#fffbe5;background:-moz-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fffbe5),color-stop(9%,#fff0b2),color-stop(89%,#fff1a8),color-stop(100%,#f7e665));background:-webkit-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-o-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-ms-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:linear-gradient(to bottom,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbe5', endColorstr='#f7e665', GradientType=0);border-color:#D6C43B;color:#333}.alert-info{background:#f4f6fa;background:-moz-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f4f6fa),color-stop(4%,#eaeef5),color-stop(96%,#e8edf6),color-stop(100%,#cddbf2));background:-webkit-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-o-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-ms-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:linear-gradient(to bottom,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f6fa', endColorstr='#cddbf2', GradientType=0);border-color:#C5D1E5;color:#333}.alert-success{background:#f8ffe8;background:-moz-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f8ffe8),color-stop(4%,#e3f5ab),color-stop(98%,#dcf48d),color-stop(100%,#9ebf28));background:-webkit-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-o-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-ms-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:linear-gradient(to bottom,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8ffe8', endColorstr='#9ebf28', GradientType=0);border-color:#9FBA35;color:#333}.breadcrumb{background-color:#F2F2EF;font-size:85%;margin:10px 20px;padding:5px 10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.form-inline{display:inline;padding:0;margin:0}.form-inline fieldset{margin:.3em 0;padding:.3em}.main{background-color:#FFF;border:1px solid #D2D2CF;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;box-shadow:0 1px 1px 0 rgba(0,0,0,.2);margin-top:.5em;margin-bottom:.5em}.mastheadsearch{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:.8em;margin:.5em 0;background:#c7c7c1;background:-moz-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(38%,#c7c7c1),color-stop(100%,#a7a7a2));background:-webkit-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-o-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-ms-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:linear-gradient(to bottom,#c7c7c1 38%,#a7a7a2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c7c7c1', endColorstr='#a7a7a2', GradientType=0)}.mastheadsearch label{font-size:115%;font-weight:700}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#9FE1FF;font-weight:700}.navbar-fixed-bottom.navbar-static-bottom{margin-top:.5em;position:static}#changelanguage .nav>.active>p{padding:0 15px}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#F4F4F4}.ui-tabs-nav .ui-tabs-active a,.ui-tabs-nav a:active,.ui-tabs-nav a:focus,.ui-tabs-nav a:hover,.ui-tabs-nav span.a{background:none;outline:0}.ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:inherit;font-size:inherit}.ui-tabs.ui-widget-content{background:0 0;border:0}.ui-tabs .ui-tabs-panel{border:1px solid #D8D8D8;margin-bottom:1em}.ui-tabs-nav.ui-widget-header{border:0;background:0 0}.ui-tabs .ui-tabs-nav li{background:#F3F3F3;border-color:#D8D8D8;margin-right:.4em}.ui-tabs .ui-tabs-nav li.ui-tabs-active{background-color:#FFF;border:1px solid #D8D8D8;border-bottom:0}.ui-tabs .ui-tabs-nav li.ui-tabs-active a{color:#000;font-weight:700}.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover{background:#F3F3F3}.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover{background:#FFF}.ui-tabs .ui-state-default a,.ui-tabs .ui-state-default a:link,.ui-tabs .ui-state-default a:visited{color:#069}.ui-tabs .ui-state-hover a,.ui-tabs .ui-state-hover a:link,.ui-tabs .ui-state-hover a:visited{color:#903}.statictabs ul{background:none;border:0;margin:0;padding:.2em .2em 0;color:#222;font-weight:700;font-size:100%;line-height:1.3;outline:0;text-decoration:none;border-radius:4px}.statictabs ul:before{content:"";display:table}.statictabs ul:after{clear:both;content:"";display:table}.statictabs li{background:#E6F0F2;border:1px solid #B9D8D9;border-bottom:0 none!important;border-top-right-radius:4px;border-top-left-radius:4px;float:left;margin-bottom:0;margin-right:.4em;padding:0;position:relative;top:1px;color:#555;font-weight:400}.statictabs li.active{background-color:#FFF;color:#212121;font-weight:400;padding-bottom:1px}.statictabs li a{color:#004D99;cursor:pointer;float:left;padding:.5em 1em;text-decoration:none}.statictabs li a:hover{background-color:#EDF4F5;border-top-right-radius:4px;border-top-left-radius:4px;color:#538200}.statictabs li.active a{color:#000;font-weight:700;cursor:text;background:none;outline:0}.statictabs .tabs-container{border:1px solid #B9D8D9;background:none;display:block;padding:1em 1.4em;border-bottom-right-radius:4px;border-bottom-left-radius:4px;color:#222}.ui-datepicker table{width:100%;font-size:.9em;border:0;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{background:0 0;padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker-trigger{vertical-align:middle;margin:0 3px}.ui-datepicker{box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-widget-content{border:1px solid #AAA;background:#fff;color:#222}.ui-widget-header{border:1px solid #AAA;background:#E6F0F2;color:#222;font-weight:700}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #AAA;background:#F4F8F9;font-weight:400;color:#555}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #AAA;background:#E6F0F2;font-weight:400;color:#212121}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-autocomplete{position:absolute;cursor:default;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-autocomplete.ui-widget-content .ui-state-hover{border:1px solid #AAA;background:#E6F0F2;font-weight:400;color:#212121}.ui-autocomplete-loading{background:url(../../img/loading-small.gif) right center no-repeat #FFF}th{background-color:#ECEDE6}.no-image{background-color:#FFF;border:1px solid #AAA;color:#979797;display:block;font-size:86%;font-weight:700;text-align:center;width:75px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}fieldset.rows,table{font-size:90%}th.sum,th[scope=row]{text-align:right}td.overdue{color:#c33}td.sum{background-color:#FFC;font-weight:700}.label,th[scope=row]{background-color:transparent}.required{color:#C00}.label{color:inherit;display:inline;font-weight:400;padding:0;text-shadow:none}.blabel{background-color:#999;border-radius:3px;color:#fff;display:inline-block;font-weight:700;padding:2px 4px;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.label-important{background-color:#b94a48}.label-warning{background-color:#f89406}.label-success{background-color:#468847}.label-info{background-color:#3a87ad}.label-inverse{background-color:#333}fieldset.rows{float:left;clear:left;margin:.9em 0 0;padding:0;width:100%}fieldset.rows legend{font-weight:700;font-size:130%}fieldset.rows .label,fieldset.rows label{float:left;font-weight:700;width:9em;margin-right:1em;text-align:right}fieldset.rows label.lradio{float:none;margin:inherit;width:auto}fieldset.rows fieldset{margin:0;padding:.3em}fieldset.rows ol{padding:1em 1em 0}fieldset.rows ol.lradio label{width:auto;float:none;margin-right:0}fieldset.rows ol.lradio label.lradio{float:left;width:12em;margin-right:1em}fieldset.rows li{float:left;clear:left;padding-bottom:1em;width:100%}fieldset.rows li.lradio{padding-left:8.5em;width:auto}fieldset.rows li.lradio label{float:none;width:auto;margin:0 0 0 1em}fieldset.rows .hint{display:block;margin-left:11em}.list-actions,.toolbar label,.toolbar li{display:inline}fieldset.action{clear:both;float:none;border:none;margin:0;padding:1em 0 .3em;width:auto}div.rows,div.rows li{clear:left;float:left}fieldset.action p{margin-bottom:1em}fieldset table{font-size:100%}div.rows+div.rows{margin-top:.6em}div.rows{margin:0;padding:0;width:100%}div.rows span.label{float:left;font-weight:700;width:9em;margin-right:1em;text-align:left}div.rows ol{margin-left:0;padding:.5em 1em 0 0}div.rows li{border-bottom:1px solid #EEE;padding-bottom:.2em;padding-top:.1em;width:100%}div.rows ul li{margin-left:7.3em}div.rows ul li:first-child{float:none;clear:none;margin-left:0}div.rows ol li li{border-bottom:0}.tagweight0{font-size:12px}.tagweight1{font-size:14px}.tagweight2{font-size:16px}.tagweight3{font-size:18px}.tagweight4{font-size:20px}.tagweight5{font-size:22px}.tagweight6{font-size:24px}.tagweight7{font-size:26px}.tagweight8{font-size:28px}.tagweight9{font-size:30px}.toolbar{background-color:#EEE;border:1px solid #E8E8E8;font-size:85%;padding:3px 3px 5px 5px;vertical-align:middle}.toolbar label{font-size:100%;font-weight:700;margin-left:.5em}.toolbar select{font-size:97%;height:auto;line-height:inherit;padding:0;margin:0;width:auto;white-space:nowrap}.toolbar #tagsel_tag,.toolbar .hold{padding-left:28px;font-size:97%;font-weight:700}.toolbar #tagsel_form{margin-top:.5em}.toolbar li{list-style:none}.toolbar li a{border-left:1px solid #e8e8e8}.toolbar li:first-child a{border-left:0}.toolbar ul{padding-left:0}#basket .toolbar{padding:7px 5px 9px 9px}#selections-toolbar,.selections-toolbar{background:-moz-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#b2b2b2),color-stop(14%,#e0e0e0),color-stop(100%,#e8e8e8));background:-webkit-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-o-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-ms-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0e0e0', endColorstr='#e8e8e8', GradientType=0);margin:0 0 1em;padding-top:.5em;padding-left:10px}#tagsel_span input.submit,#tagsel_tag,.view a,.view span{background-image:url(../images/sprite.png);background-repeat:no-repeat}#tagsel_span input.submit,#tagsel_tag{border:0;background-color:transparent;font-size:100%;color:#0076B2;cursor:pointer;background-position:1px -643px;padding-left:25px;text-decoration:none}#tagsel_tag.disabled{background-position:-1px -667px}#selections-toolbar input.hold:hover,#tagsel_span input:hover{color:#005580;text-decoration:underline}#selections-toolbar a.disabled,#selections-toolbar a.disabled:hover,#selections-toolbar input.hold.disabled,#selections-toolbar input.hold.disabled:hover,#tagsel_span input.disabled,#tagsel_span input.disabled:hover,#tagsel_span input.hold.disabled,#tagsel_span input.hold.disabled:hover,.selections-toolbar a.disabled,.selections-toolbar a.disabled:hover{color:#888;text-decoration:none;padding-left:23px}.results_summary{display:block;font-size:85%;color:#707070;padding:0 0 .5em}.results_summary .results_summary{font-size:100%}.results_summary.actions{margin-top:.5em}.results_summary.tagstatus{display:inline}.results_summary .label{color:#202020}.results_summary a{font-weight:400}#views{border-bottom:1px solid #D6D6D6;margin-bottom:.5em;padding:0 2em .2em .2em}.view{padding:.2em .2em 2px}#bibliodescriptions,#isbdcontents{clear:left;margin-top:.5em}.view a,.view span{font-size:87%;font-weight:400;padding:.4em .7em 5px 26px;text-decoration:none}.nav_results,span#Briefhistory,span#Fullhistory,span#ISBDview,span#MARCview,span#Normalview{font-weight:700}a#MARCview,a#MARCviewPop,span#MARCview,span#MARCviewPop{background-position:-3px -23px}a#ISBDview,span#ISBDview{background-position:-3px -52px}a#Normalview,span#Normalview{background-position:-1px 6px}.view a{background-color:#F3F3F3;border-left:1px solid #C9C9C9}#bookcover{float:left;margin:0;padding:0}#bookcover .no-image{margin-right:10px;margin-bottom:10px}#bookcover img{margin:0 1em 1em 0}.results-pagination{position:absolute;top:32px;left:-1px;width:100%;height:auto;border:1px solid #D0D0D0;display:none;background-color:#F3F3F3;padding-bottom:10px;z-index:100}.back{float:right}.back input{background:0 0!important;color:#999!important}.pagination_list ul{padding-top:40px;padding-left:0}.pagination_list li{float:bottom;padding:4px;color:#999}.pagination_list li.highlight{background-color:#F3F3F3;border-top:1px solid #DDD;border-bottom:1px solid #DDD}.pagination_list li a{padding-left:0}.pagination_list .li_pag_index{color:#999;float:left;font-size:15px;font-weight:700;padding-right:10px;text-align:right;width:13px}.nav_results{background-color:#F3F3F3;border:1px solid #D0D0D0;font-size:95%;margin-top:.5em;position:relative}.nav_results .l_Results a{background:url(../images/sprite.png) 0 -504px no-repeat #E1E1E1;color:#069;display:block;padding:8px 28px;text-decoration:none}#login4tags,#renewall_link,#renewselected_link,a.new{background-image:url(../images/sprite.png)}#login4tags,#renewall_link,#renewcontrols a,#renewselected_link{background-repeat:no-repeat}.pg_menu li,.pg_menu li span{color:#B2B2B2}.nav_results .l_Results:hover{background-color:#D9D9D9}.pg_menu{margin:0;border-top:1px solid #D0D0D0}.pg_menu li{display:inline;margin:0}#listResults li,.pg_menu li a,.pg_menu li span{display:block;text-align:center;font-weight:400}.pg_menu li.back_results a{border-left:1px solid #D0D0D0;border-right:1px solid #D0D0D0}.pg_menu li a,.pg_menu li span{background-color:#F3F3F3;float:left;padding:.4em .5em;text-decoration:none}#marc td,#marc th,.deleteshelf,input.editshelf,input.hold{background-color:transparent}.nav_pages .close_pagination a,.nav_pages li a{text-decoration:none!important}#listResults li{background-color:#999;color:#C5C5C5;margin-right:1px;font-size:80%;padding:0;min-width:18px}#listResults li:hover{background-color:#069}#listResults li a{color:#FFF;font-weight:400}.nav_pages .close_pagination{padding-right:10px;position:absolute;right:3px;top:-25px}.nav_pages ul{padding-top:10px}.nav_pages li{float:left;padding:4px;color:#999}.nav_pages li a:hover{text-decoration:underline}#action a,a.brief,a.deleteshelf,a.detail,a.download,a.editshelf,a.empty,a.hold,a.new,a.print-large,a.print-small,a.removeitems,a.send,a.tag_add,input.hold{text-decoration:none}.nav_pages li ul{float:left}#action{margin:.5em 0 0;background-color:#F3F3F3;border:1px solid #E8E8E8;padding-bottom:3px}#action li{margin:.2em;padding:.3em 0}#action a{font-weight:700}#export li,#moresearches_menu li{padding:0;margin:0}#format,#furthersearches,a.addtocart,a.addtoshelf{padding-left:35px}#export li a,#moresearches_menu li a{font-weight:400}#export li a.menu-inactive,#marc p .label,#moresearches_menu li a.menu-inactive,.authorizedheading,.authstanzaheading,.links a,.suggestionlabel,input.hold{font-weight:700}.highlight_controls{float:left}.deleteshelf,.newshelf,.newshelf.disabled,a.addtocart,a.addtoshelf,a.brief,a.deleteshelf,a.deleteshelf.disabled,a.detail,a.download,a.editshelf,a.empty,a.hide,a.highlight_toggle,a.hold,a.hold.disabled,a.incart,a.new,a.print-large,a.print-small,a.removefromlist,a.removeitems,a.removeitems.disabled,a.reserve,a.send,a.tag_add,input.editshelf,input.hold,input.hold.disabled{background-image:url(../images/sprite.png);background-repeat:no-repeat}a.addtocart{background-position:-5px -265px}a.addtoshelf{background-position:-5px -225px}a.brief{background-position:-2px -868px;padding-left:27px}a.cartRemove{color:#c33;font-size:90%;margin:0;padding:0}a.detail{background-position:-2px -898px;padding-left:27px}a.download{background-position:-5px -348px;padding-left:20px}a.editshelf{background-position:2px -348px;padding-left:26px}a.empty{background-position:2px -598px;padding-left:30px}a.hide{background-position:-3px -814px;text-decoration:none;padding-left:26px}a.highlight_toggle{background-position:-5px -841px;display:none;padding-left:35px}#tagslist li,.tag_results_input label,.tagsinput label{display:inline}a.hold,input.hold{background-position:-2px -453px;padding-left:23px}a.hold.disabled,input.hold.disabled{background-position:-5px -621px}a.incart{background-position:-5px -265px;color:#666;padding-left:35px}a.new{background-position:-4px -922px;padding-left:23px}a.print-small{background-position:0 -423px;padding-left:30px}a.print-large{background-position:-5px -186px;padding-left:35px}a.deleteshelf,a.removeitems{background-position:2px -690px;padding-left:25px}a.deleteshelf.disabled,a.removeitems.disabled{background-position:2px -712px}a.reserve{background-position:-6px -144px;padding-left:35px}a.send{background-position:2px -386px;padding-left:28px}a.tag_add{background-position:3px -1111px;padding-left:27px}input.hold{border:0;color:#0076B2}.deleteshelf,.newshelf,input.editshelf{color:#069;font-size:100%;border:0;text-decoration:none;filter:none;cursor:pointer}input.editshelf{background-position:2px -736px;padding-left:29px}.newshelf{background-position:2px -764px;padding-left:28px}.newshelf.disabled{background-position:-4px -791px}.deleteshelf{background-position:2px -690px;padding-left:25px}#hierarchies a:hover,.deleteshelf:hover{color:#903}.deleteshelf:active,.editshelf:active{border:0}#login4tags{background-position:-6px -1130px;padding-left:20px;text-decoration:none}.tag_results_input{margin-left:1em;padding:.3em;font-size:12px}.tag_results_input input[type=text],.tagsinput input[type=text]{font-size:inherit;margin:0;padding:0}#marc p,#marc ul{padding-bottom:.6em}.branch-info-tooltip{display:none}.ui-tooltip-content p{margin:.3em 0}#social_networks a{background:url(../images/social-sprite.png) no-repeat;display:block;height:20px!important;width:20px;text-indent:-999em}#marc td:first-child,.authref{text-indent:2em}#social_networks span{color:#274D7F;display:block;float:left;font-size:85%;font-weight:700;line-height:2em;margin:.5em 0 .5em .5em!important}#social_networks div{float:left!important;margin:.5em 0 .5em .2em!important}#social_networks #facebook{background-position:-7px -35px}#social_networks #twitter{background-position:-7px -5px}#social_networks #linkedin{background-position:-7px -95px}#social_networks #delicious{background-position:-7px -66px}#social_networks #email{background-position:-7px -126px}#marc td,#marc th{border:0;padding:3px 5px;text-align:left}#marc .results_summary{clear:left}#marc .results_summary ul{display:inline;float:none;clear:none;margin:0;padding:0}.copiesrow,.hold-options,.holdrow,.toggle-hold-options{clear:both}#plainmarc td,#plainmarc th{border:0;padding:2px;vertical-align:top}#marc .results_summary li{display:inline}#items,#items td #items th{border:1px solid #EEE;font-size:90%}#plainmarc table{border:0;margin:.7em 0 0;font-family:monospace;font-size:95%}#plainmarc th{background-color:#FFF;text-align:left}#renewcontrols{float:right;font-size:66%}#renewcontrols a{text-decoration:none;padding:.1em .4em .1em 18px}#renewselected_link{background-position:-5px -986px}#renewall_link{background-position:-8px -967px}.authstanza{margin-top:1em}.authstanza li{margin-left:.5em}#didyoumean,#top-pages{margin:0 0 .5em}.authres_notes,.authres_otherscript,.authres_seealso{padding-top:.5em}#didyoumean{background-color:#EEE;border:1px solid #E8E8E8;text-align:left;padding:.5em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.searchsuggestion{padding:.2em .5em;display:inline-block}.authlink{padding-left:.25em}#hierarchies a{font-weight:400;text-decoration:underline;color:#069}.dropdown-menu>li>a{font-size:90%}a.listmenulink:link,a.listmenulink:visited{color:#0076B2;font-weight:700}a.listmenulink:active,a.listmenulink:hover{color:#FFF;font-weight:700}#cartDetails,#cartUpdate,#holdDetails,#listsDetails{background-color:#FFF;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);color:#000;display:none;font-size:90%;margin:0;padding:8px 20px;text-align:center;width:180px;z-index:2}#menu,#search-facets{border:1px solid #D2D2CF;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}#menu ul,#search-facets ul{margin:0;padding:.3em}#menu form,#search-facets form{margin:0}#menu h4,#search-facets h4{font-size:90%;margin:0 0 .6em;text-align:center}#menu h4 a,#search-facets h4 a{background-color:#F2F2EF;border-radius:8px 8px 0 0;border-bottom:1px solid #D8D8D8;display:block;font-weight:700;padding:.7em .2em;text-decoration:none}#menu li,#search-facets li{font-size:90%;font-weight:700}#menu li li,#search-facets li li{font-weight:400;font-size:95%;line-height:125%;margin-bottom:2px;padding:.1em .2em}#menu li.showmore a,#search-facets li.showmore a{font-weight:700;text-indent:1em}#menu a,#search-facets a{font-weight:400;text-decoration:underline}#menu .facet-count,#search-facets .facet-count{display:inline-block}#menu{font-size:94%}#menu li a{background:#eee;text-decoration:none;display:block;border:1px solid #D8D8D8;border-radius:5px 0 0 5px;border-bottom-color:#999;font-size:111%;padding:.4em .6em;margin:.4em -1px .4em 0}#menu li a:hover{background:#eaeef5}#menu li.active a{background-color:#FFF;background-image:none;border-right-width:0;font-weight:700}.addto a.addtocart,.searchresults a.highlight_toggle{background-image:url(../images/sprite.png);background-repeat:no-repeat}#menu li.active a:hover{background-color:#fff}#menu h4{display:none}#addto{max-width:10em}.addto a.addtocart{background-position:-5px -266px;text-decoration:none;padding-left:33px}.searchresults p{margin:0;padding:0 0 .6em}.searchresults p.details{color:#979797}.searchresults a.highlight_toggle{background-position:-11px -841px;display:none;font-weight:400;padding:0 10px 0 21px}.searchresults .commentline{background-color:#ffc;background-color:rgba(255,255,204,.4);border:1px solid #CCC;display:inline-block;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2);margin:.3em;padding:.4em}.searchresults .commentline.yours{background-color:#effed5;background-color:rgba(239,254,213,.4)}.commentline .avatar{float:right;padding-left:.5em}.term{color:#900;background-color:#FFC}.shelvingloc{display:block}#CheckAll,#CheckNone,.CheckAll,.CheckNone{font-weight:400;margin:0 .5em;text-decoration:underline}span.sep{color:#888;padding:0 .2em 0 .5em;text-shadow:1px 1px 0 #FFF}.pages a:first-child,.pages span:first-child{border-width:1px;border-bottom-left-radius:3px;border-top-left-radius:3px}.pages a:last-child,.pages span:last-child{border-width:1px 1px 1px 0;border-bottom-right-radius:3px;border-top-right-radius:3px}.pages .currentPage,.pages .inactive,.pages a{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background-color:#FFF;border-color:#DDD;border-image:none;border-style:solid;border-width:1px 1px 1px 0;float:left;font-size:11.9px;line-height:20px;padding:4px 12px;text-decoration:none}.close,.close:hover{font-size:inherit;opacity:inherit}.pages .inactive{background-color:#F5F5F5}.pages a[rel=last]{border-bottom-right-radius:3px;border-top-right-radius:3px}.hold-message{background-color:#FFF0B1;display:inline-block;margin:.5em;padding:.2em .5em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#logo a,.checkedout,.intransit,.item-status,.lost,.notforloan,.notonhold,.waiting{display:block}.close{color:#08C;position:inherit;top:auto;right:auto;filter:none;float:none;font-weight:400;text-shadow:none}.closebtn,.notesrow label,.tdlabel{font-weight:700}.close:hover{color:#538200;filter:inherit}.alert .closebtn{position:relative;top:-2px;right:-21px;line-height:20px}.modal-header .closebtn{margin-top:2px}.closebtn{float:right;font-size:20px;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.closebtn:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.closebtn{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.btn-group label,.btn-group select{font-size:13px}.span2 select{width:100%}.popup .main{font-size:90%;padding:0 1em}.popup legend{line-height:1.5em;margin-bottom:.5em}.item-status{font-size:95%;margin-bottom:.5em}.available{color:#060}.notforloan{color:#900}.lost{color:#666}.suggestion{background-color:#EEEEEB;border:1px solid #DDDED3;margin:1em auto;padding:.5em;width:35%;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.librarypulldown .transl1{width:auto}.nolibrarypulldown{width:68%}.nolibrarypulldown .transl1{width:87%}#logo,#logo a{border:0;margin:0;width:100px}#opac-main-search select{width:auto;max-width:12em}#logo{background:url(../images/koha-logo-navbar.png) 0 no-repeat;float:left!important;padding:0}#logo a{cursor:pointer;height:0!important;overflow:hidden;padding:40px 0 0;text-decoration:none}#user-menu-trigger,.tdlabel{display:none}#user-menu-trigger .icon-user{background:url(../lib/bootstrap/img/glyphicons-halflings-white.png) -168px 0 no-repeat;height:14px;line-height:14px;margin:12px 0 0;vertical-align:text-top;width:14px}.idbresult img,.idreambookssummary img,.throbber{vertical-align:middle}#user-menu-trigger .caret{border-bottom-color:#999;border-top-color:#999;margin-top:18px}.floating{-webkit-box-shadow:0 3px 2px 0 rgba(0,0,0,.4);box-shadow:0 3px 2px 0 rgba(0,0,0,.4);margin-top:0}#ulactioncontainer{min-width:16em}.notesrow span{display:block}.tags ul,.tags ul li{display:inline}.thumbnail-shelfbrowser span{margin:0 auto}.dropdown-menu>li>a.menu-inactive:hover{background:#FFF;color:#000}.table .sorting_asc{padding-right:19px;background:url(../images/asc.gif) right center no-repeat #ECEDE6}.table .sorting_desc{padding-right:19px;background:url(../images/desc.gif) right center no-repeat #ECEDE6}.table .sorting{padding-right:19px;background:url(../images/ascdesc.gif) right center no-repeat #ECEDE6}.table .nosort,.table .nosort.sorting,.table .nosort.sorting_asc,.table .nosort.sorting_desc{padding-right:19px;background:#ECEDE6}.table td,.table th{line-height:135%}.tags ul{margin-left:0}.coverimages{float:right}#i18nMenu{margin-left:1em}#i18nMenu li{font-size:85%}#i18nMenu li li,#i18nMenu li li>a{font-size:100%}#i18nMenu li li>a:hover{color:#FFF}#i18nMenu li a{color:#0076B2}#i18nMenu .dropdown-menu li p{clear:both;display:block;font-weight:400;line-height:20px;padding:3px 20px}#authorSearch label,#subjectsList label{display:inline;vertical-align:middle}#authorSearch ul,#subjectsList ul{border-bottom:1px solid #EEE;list-style-type:none;margin:0;padding:.6em 0}#authorSearch li,#subjectsList li{margin:0;padding:0}#overdrive-results{font-weight:700;padding-left:1em}#overdrive-results-list .star-rating-control{display:block;overflow:auto}#shelfbrowser table{margin:0}#shelfbrowser table,#shelfbrowser td,#shelfbrowser th{border:0;font-size:90%;text-align:center}#shelfbrowser td,#shelfbrowser th{padding:3px 5px;width:20%}#shelfbrowser a{display:block;font-size:110%;font-weight:700;text-decoration:none}#shelfbrowser #browser_next,#shelfbrowser #browser_previous{background-image:url(../images/sprite.png);background-repeat:no-repeat;width:16px}#shelfbrowser #browser_next a,#shelfbrowser #browser_previous a{cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:50px 0 0;text-decoration:none;width:16px}#shelfbrowser #browser_previous{background-position:-9px -1007px}#shelfbrowser #browser_next{background-position:-9px -1057px}#holds{margin:0 auto;max-width:800px}.holdrow{padding:0 1em 1em;border-bottom:1px solid #CCC;margin-bottom:.5em}.holdrow fieldset{border:0;margin:0;float:none}#idreambooksreadometer,.m880{float:right}.holdrow fieldset .label{font-size:14px}.holdrow label{display:inline}.toggle-hold-options{background-color:#eee;display:block;font-weight:700;margin:1em 0;padding:.5em}a.idreambooksrating{font-size:30px;color:#29ADE4;padding-left:85px;line-height:30px;text-decoration:none}.idreambookslegend{font-size:small}a.reviewlink,a.reviewlink:visited{text-decoration:none;color:#000;font-weight:400}.idreambookssummary a{color:#707070;text-decoration:none}.idbresult{color:#29ADE4;text-align:center;margin:.5em;padding:.5em}.idbresult a,.idbresult a:visited{text-decoration:none;color:#29ADE4}.idbresult img{padding-right:6px}.js-show,.modal-nojs .modal-footer,.modal-nojs .modal-header{display:none}.contents .r,.contents .t{display:inline}.contents{width:75%}.contentblock{font-size:95%;line-height:135%;position:relative;margin-left:2em}.contents .t:first-child:before{content:"→ "}.contents .t:before{content:"\A → ";white-space:pre}.contents .t{font-weight:700}.m880{display:block;text-align:right;width:50%;padding-left:20px}#memberentry-form input.error{border-color:#c00;box-shadow:0 1px 1px #c00 inset,0 0 8px #c00;color:red;outline:0}#memberentry-form input.error:focus{border-color:#c00;box-shadow:0 1px 1px #c00 inset,0 0 8px #c00;color:red;outline:0}#memberentry-form label.error{color:#c00;float:none;font-size:90%}#dc_fieldset{border:1px solid #ddd;padding:5px;border-radius:10px}.label_dc{display:inline;padding:0;margin:0;cursor:pointer}@media only screen and (min-width:0px) and (max-width:304px){#oh:after{content:"(min-width: 0px) and (max-width: 304px)"}input,select,textarea{width:auto;max-width:11em}}@media only screen and (min-width:0px) and (max-width:390px){#oh:after{content:"(min-width: 0px) and (max-width: 390px)"}.statictabs li a,.ui-tabs .ui-tabs-nav li a{padding:.1em .5em}#views,.view{padding:0}#views{border:0;margin:0}.view a,.view span{border:1px solid #C9C9C9;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-size:80%;padding:.3em .4em 4px 26px}.input-fluid{width:90%}}@media only screen and (min-width:305px) and (max-width:341px){#oh:after{content:"(min-width: 305px) and (max-width: 341px)"}}@media only screen and (min-width:342px) and (max-width:479px){#oh:after{content:"(min-width: 342px) and (max-width: 479px)"}.input-fluid{width:75%}}@media (max-width:979px){.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;margin-left:0;margin-right:0}}@media only screen and (max-width:608px){#searchsubmit,.actions .label{font-weight:700}fieldset.rows label{display:block;float:none;text-align:left}fieldset.rows li{padding-bottom:.5em}.navbar-inner,body{padding:0}fieldset.rows .hint,fieldset.rows ol{margin-left:0}.tdlabel{display:inline}.navbar-fixed-top,.navbar-static-top{margin:0}#remove-selected,#selections-toolbar,.checkall,.clearall,.highlight_controls,.list-actions,.selectcol{display:none}.table td.bibliocol{padding-left:1.3em}.actions{display:block}.actions #login4tags,.actions a{background-color:#F2F2EF;border:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-weight:700;display:block;font-size:120%;margin:2px 0}.actions .label{display:block}.actions #login4tags{margin-right:1em}#opac-main-search .input-append,#opac-main-search .librarypulldown .transl1,#opac-main-search button,#opac-main-search input,#opac-main-search select{display:block;width:97%;max-width:100%;margin:.5em 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}#opac-main-search .input-append{margin:0;width:100%}#opac-main-search .librarypulldown .transl1{width:94.5%}#toolbar .resort{font-size:14px;max-width:100%;margin:.5em 0;padding:4px 6px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.mastheadsearch{margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.main{margin:.5em 0;padding:15px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.breadcrumb{margin:10px 0}#moresearches{text-align:center}#topissues .item-thumbnail,#usersuggestions .item-thumbnail,#usertags .item-thumbnail,.tabs-container .item-thumbnail,.ui-tabs-panel .item-thumbnail{margin:.5em 0 0 .5em}#topissues .table-bordered,#usersuggestions .table-bordered,#usertags .table-bordered,.tabs-container .table-bordered,.ui-tabs-panel .table-bordered{border:none}#topissues .table th,#topissues .table thead,#usersuggestions .table th,#usersuggestions .table thead,#usertags .table th,#usertags .table thead,.tabs-container .table th,.tabs-container .table thead,.ui-tabs-panel .table th,.ui-tabs-panel .table thead{display:none}#topissues .table td,#usersuggestions .table td,#usertags .table td,.tabs-container .table td,.ui-tabs-panel .table td{border-right:1px solid #ddd;border-left:1px solid #ddd;border-top:0;display:block;padding:.2em}#topissues .table p,#usersuggestions .table p,#usertags .table p,.tabs-container .table p,.ui-tabs-panel .table p{margin-bottom:2px}#topissues tr,#usersuggestions tr,#usertags tr,.tabs-container tr,.ui-tabs-panel tr{display:block;margin-bottom:.6em}#topissues tr td:first-child,#usersuggestions tr td:first-child,#usertags tr td:first-child,.tabs-container tr td:first-child,.ui-tabs-panel tr td:first-child{border-top:1px solid #ddd;border-radius:5px 5px 0 0}#topissues tr td:last-child,#usersuggestions tr td:last-child,#usertags tr td:last-child,.tabs-container tr td:last-child,.ui-tabs-panel tr td:last-child{border-radius:0 0 5px 5px;border-bottom:2px solid #CACACA}.no-image{display:none}}@media only screen and (max-width:700px){#members,#opac-main-search label{display:none}#logo{background:url(../lib/bootstrap/img/glyphicons-halflings-white.png) 0 -24px no-repeat;margin:14px 14px 0;width:14px}#logo a{padding:14px 0 0;width:14px}#user-menu-trigger{display:inline;margin-right:12px}#members{clear:both}#members li{padding-right:20px;text-align:right;border-bottom:1px solid #555}#members li:first-child{border-top:1px solid #555}#members li:last-child{border-bottom:none}#members .nav,#members .nav.pull-right,#members .nav>li{float:none}#members .divider-vertical{border:0;height:0;margin:0}}@media only screen and (min-width:480px) and (max-width:608px){#oh:after{content:" Between 480 pixels and 608 pixels. "}.input-fluid{width:75%}}@media only screen and (min-width:608px) and (max-width:767px){#oh:after{content:" Between 608 pixels and 767 pixels. "}.main{padding:.8em 20px}.breadcrumb{margin:10px 0}.navbar-static-bottom{margin-left:-20px;margin-right:-20px}.row-fluid input.span6{width:48.9362%}}@media only screen and (max-width:767px){#menu li a,a.title{font-size:120%}#userresults{margin:0 -20px}#top-pages,.breadcrumb,.menu-collapse{display:none}#menu,#search-facets{margin-bottom:.5em}#menu h4,#search-facets h4{display:block;margin:0;padding:0}#menu h4 a,#search-facets h4 a{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;border-bottom:0;font-weight:400;padding:.7em .2em}#menu ul,#search-facets ul{padding:0}#menu li a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0;display:block;text-decoration:none;border-bottom:1px solid #D8D8D8;margin:0}#menu li.active a{border-top:1px solid #D8D8D8;border-right-width:1px}#menu li:last-child a{-webkit-border-radius:0 0 7px 7px;-moz-border-radius:0 0 7px 7px;border-radius:0 0 7px 7px}#search-facets li{padding:.4em}#search-facets h5{margin:.2em}#menu h4 a.menu-open,#search-facets h4 a.menu-open{-webkit-border-radius:7px 7px 0 0;-moz-border-radius:7px 7px 0 0;border-radius:7px 7px 0 0;border-bottom:1px solid #D8D8D8}}@media only screen and (max-width:800px){.cartlabel,.listslabel{display:none}.navbar .divider-vertical{margin:0 2px}.navbar #members .divider-vertical{margin:0 9px}}@media only screen and (min-width:768px){.main{margin-left:20px;margin-right:20px}#menu{border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-right:1px solid #D8D8D8}#menu h4{display:none}#menu ul{padding:1em 0}}@media only screen and (min-width:768px) and (max-width:984px){#oh:after{content:" Between 768 and 984 pixels. "}.librarypulldown .transl1{width:38%}}@media only screen and (min-width:984px){#oh:after{content:" Above 984 pixels. "}.librarypulldown .transl1{width:53%}}@media only screen and (max-width:1040px){.pg_menu li a{float:none;text-align:left}.pg_menu li.back_results a{border:1px solid #D0D0D0;border-width:1px 0}#ulactioncontainer{min-width:0}}
1
a,a:visited{color:#0076B2}h1,h2,h3{line-height:150%}a.title,caption,legend{font-weight:700}#moresearches,#news{margin:.5em 0}.authref .label,.authres_notes,.newsfooter,.shelvingloc{font-style:italic}.item-thumbnail,td img{max-width:none}#action li,#marc .results_summary ul,.breadcrumb,.nav_pages li,.pagination_list li,.pg_menu li,.statictabs li,.statictabs ul,.tags ul,.ui-menu li,ul.ui-tabs-nav li{list-style:none}#cartmenulink,#i18nMenu .dropdown-menu li p,#moresearches li,#plainmarc th,#views,.actions a,.expiration_date,.no-js .dateformat,.pg_menu,.reserve_date,.searchsuggestion,.statictabs li,.toolbar a,td .btn{white-space:nowrap}#authorSearch li,#menu li,#search-facets li,#subjectsList li,div.rows li,div.rows ol,fieldset.rows li,fieldset.rows ol{list-style-type:none}.shadowed{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.main,.ui-datepicker{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}body{background-color:#EAEAE6}body,html{height:100%}.no-js .dateformat{display:inline}.no-js .modal-body{padding:0}.js .dateformat,.no-js .selections-toolbar{display:none}#advsearches label,#basketcount,#booleansearch label{display:inline}#wrap{min-height:100%;height:auto!important;height:100%}.popup{padding-left:0;padding-right:0}a.cancel{padding-left:1em}a.title{font-size:108%}a.btn:visited{color:#333}a.btn-primary:visited{color:#FFF}.ui-widget-content a,.ui-widget-content a:visited{color:#0076B2}h1{font-size:140%}h1#libraryname{background:url(../images/logo-koha.png) 0 no-repeat;border:0;float:left!important;margin:0;padding:0;width:120px}.actions a.addtocart,.actions a.addtoshelf,.actions a.hold{background-image:url(../images/sprite.png);background-repeat:no-repeat}h1#libraryname a{border:0;cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:40px 0 0;text-decoration:none;width:120px}h2{font-size:130%}h3{font-size:120%}h4{font-size:110%}h5{font-size:100%}caption{font-size:120%;margin:0;text-align:left}input,textarea{width:auto}.input-fluid{width:50%}legend{font-size:110%}table,td{background-color:#FFF}td .btn-link{padding:0}#basketcount{margin:0;padding:0}#basketcount span{background-color:#FFC;color:#000;display:inline;font-size:80%;font-weight:400;margin:0 0 0 .9em;padding:0 .3em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#members{display:block}#members p{color:#EEE}#members a{color:#A6D8ED;font-weight:700}#members a.logout{color:#E8583C;padding:0 .3em}#koha_url p{color:#666;float:right;margin:0}#moresearches{padding:0 .8em}.newsbody,.newsheader{padding:8px}#moresearches li{display:inline}#moresearches li:after{content:" | "}#moresearches ul{margin:0}#moresearches li:last-child:after{content:""}.newscontainer{border:1px solid #ddd;border-bottom-width:0;border-top-left-radius:5px;border-top-right-radius:5px}.newsfooter,.newsheader{border-bottom:1px solid #ddd}.newsheader{background-color:#ecede6;margin:0}.newsfooter{padding:4px 8px}#opacheader{background-color:#DDD}#selections,.selections{font-weight:700}.actions a.hold{background-position:-5px -542px;margin-right:1em;padding-left:21px;text-decoration:none}.actions a.addtocart{background-position:-5px -572px;margin-right:1em;padding-left:20px;text-decoration:none}.actions a.addtolist,.actions a.addtoshelf{background-position:-5px -27px;padding-left:20px;margin-right:1em;text-decoration:none}.actions a.tag_add{background-position:-5px -1110px;margin-right:1em;padding-left:20px;text-decoration:none}.actions a.removefromlist{background-position:-8px -690px;margin-right:1em;text-decoration:none;padding-left:15px}.alert{background:#fffbe5;background:-moz-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fffbe5),color-stop(9%,#fff0b2),color-stop(89%,#fff1a8),color-stop(100%,#f7e665));background:-webkit-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-o-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:-ms-linear-gradient(top,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);background:linear-gradient(to bottom,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbe5', endColorstr='#f7e665', GradientType=0);border-color:#D6C43B;color:#333}.alert-info{background:#f4f6fa;background:-moz-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f4f6fa),color-stop(4%,#eaeef5),color-stop(96%,#e8edf6),color-stop(100%,#cddbf2));background:-webkit-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-o-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:-ms-linear-gradient(top,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);background:linear-gradient(to bottom,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f6fa', endColorstr='#cddbf2', GradientType=0);border-color:#C5D1E5;color:#333}.alert-success{background:#f8ffe8;background:-moz-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f8ffe8),color-stop(4%,#e3f5ab),color-stop(98%,#dcf48d),color-stop(100%,#9ebf28));background:-webkit-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-o-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:-ms-linear-gradient(top,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);background:linear-gradient(to bottom,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8ffe8', endColorstr='#9ebf28', GradientType=0);border-color:#9FBA35;color:#333}.breadcrumb{background-color:#F2F2EF;font-size:85%;margin:10px 20px;padding:5px 10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.form-inline{display:inline;padding:0;margin:0}.form-inline fieldset{margin:.3em 0;padding:.3em}.main{background-color:#FFF;border:1px solid #D2D2CF;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;box-shadow:0 1px 1px 0 rgba(0,0,0,.2);margin-top:.5em;margin-bottom:.5em}.mastheadsearch{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:.8em;margin:.5em 0;background:#c7c7c1;background:-moz-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(38%,#c7c7c1),color-stop(100%,#a7a7a2));background:-webkit-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-o-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:-ms-linear-gradient(top,#c7c7c1 38%,#a7a7a2 100%);background:linear-gradient(to bottom,#c7c7c1 38%,#a7a7a2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c7c7c1', endColorstr='#a7a7a2', GradientType=0)}.mastheadsearch label{font-size:115%;font-weight:700}.navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#9FE1FF;font-weight:700}.navbar-fixed-bottom.navbar-static-bottom{margin-top:.5em;position:static}#changelanguage .nav>.active>p{padding:0 15px}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#F4F4F4}.ui-tabs-nav .ui-tabs-active a,.ui-tabs-nav a:active,.ui-tabs-nav a:focus,.ui-tabs-nav a:hover,.ui-tabs-nav span.a{background:none;outline:0}.ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:inherit;font-size:inherit}.ui-tabs.ui-widget-content{background:0 0;border:0}.ui-tabs .ui-tabs-panel{border:1px solid #D8D8D8;margin-bottom:1em}.ui-tabs-nav.ui-widget-header{border:0;background:0 0}.ui-tabs .ui-tabs-nav li{background:#F3F3F3;border-color:#D8D8D8;margin-right:.4em}.ui-tabs .ui-tabs-nav li.ui-tabs-active{background-color:#FFF;border:1px solid #D8D8D8;border-bottom:0}.ui-tabs .ui-tabs-nav li.ui-tabs-active a{color:#000;font-weight:700}.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover{background:#F3F3F3}.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover{background:#FFF}.ui-tabs .ui-state-default a,.ui-tabs .ui-state-default a:link,.ui-tabs .ui-state-default a:visited{color:#069}.ui-tabs .ui-state-hover a,.ui-tabs .ui-state-hover a:link,.ui-tabs .ui-state-hover a:visited{color:#903}.statictabs ul{background:none;border:0;margin:0;padding:.2em .2em 0;color:#222;font-weight:700;font-size:100%;line-height:1.3;outline:0;text-decoration:none;border-radius:4px}.statictabs ul:before{content:"";display:table}.statictabs ul:after{clear:both;content:"";display:table}.statictabs li{background:#E6F0F2;border:1px solid #B9D8D9;border-bottom:0 none!important;border-top-right-radius:4px;border-top-left-radius:4px;float:left;margin-bottom:0;margin-right:.4em;padding:0;position:relative;top:1px;color:#555;font-weight:400}.statictabs li.active{background-color:#FFF;color:#212121;font-weight:400;padding-bottom:1px}.statictabs li a{color:#004D99;cursor:pointer;float:left;padding:.5em 1em;text-decoration:none}.statictabs li a:hover{background-color:#EDF4F5;border-top-right-radius:4px;border-top-left-radius:4px;color:#538200}.statictabs li.active a{color:#000;font-weight:700;cursor:text;background:none;outline:0}.statictabs .tabs-container{border:1px solid #B9D8D9;background:none;display:block;padding:1em 1.4em;border-bottom-right-radius:4px;border-bottom-left-radius:4px;color:#222}.ui-datepicker table{width:100%;font-size:.9em;border:0;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{background:0 0;padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker-trigger{vertical-align:middle;margin:0 3px}.ui-datepicker{box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-widget-content{border:1px solid #AAA;background:#fff;color:#222}.ui-widget-header{border:1px solid #AAA;background:#E6F0F2;color:#222;font-weight:700}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #AAA;background:#F4F8F9;font-weight:400;color:#555}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #AAA;background:#E6F0F2;font-weight:400;color:#212121}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-autocomplete{position:absolute;cursor:default;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-autocomplete.ui-widget-content .ui-state-hover{border:1px solid #AAA;background:#E6F0F2;font-weight:400;color:#212121}.ui-autocomplete-loading{background:url(../../img/loading-small.gif) right center no-repeat #FFF}th{background-color:#ECEDE6}.no-image{background-color:#FFF;border:1px solid #AAA;color:#979797;display:block;font-size:86%;font-weight:700;text-align:center;width:75px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}fieldset.rows,table{font-size:90%}th.sum,th[scope=row]{text-align:right}td.overdue{color:#c33}td.sum{background-color:#FFC;font-weight:700}.label,th[scope=row]{background-color:transparent}.required{color:#C00}.label{color:inherit;display:inline;font-weight:400;padding:0;text-shadow:none}.blabel{background-color:#999;border-radius:3px;color:#fff;display:inline-block;font-weight:700;padding:2px 4px;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.label-important{background-color:#b94a48}.label-warning{background-color:#f89406}.label-success{background-color:#468847}.label-info{background-color:#3a87ad}.label-inverse{background-color:#333}fieldset.rows{float:left;clear:left;margin:.9em 0 0;padding:0;width:100%}fieldset.rows legend{font-weight:700;font-size:130%}fieldset.rows .label,fieldset.rows label{float:left;font-weight:700;width:9em;margin-right:1em;text-align:right}fieldset.rows label.lradio{float:none;margin:inherit;width:auto}fieldset.rows fieldset{margin:0;padding:.3em}fieldset.rows ol{padding:1em 1em 0}fieldset.rows ol.lradio label{width:auto;float:none;margin-right:0}fieldset.rows ol.lradio label.lradio{float:left;width:12em;margin-right:1em}fieldset.rows li{float:left;clear:left;padding-bottom:1em;width:100%}fieldset.rows li.lradio{padding-left:8.5em;width:auto}fieldset.rows li.lradio label{float:none;width:auto;margin:0 0 0 1em}fieldset.rows .hint{display:block;margin-left:11em}.list-actions,.toolbar label,.toolbar li{display:inline}fieldset.action{clear:both;float:none;border:none;margin:0;padding:1em 0 .3em;width:auto}div.rows,div.rows li{clear:left;float:left}fieldset.action p{margin-bottom:1em}fieldset table{font-size:100%}div.rows+div.rows{margin-top:.6em}div.rows{margin:0;padding:0;width:100%}div.rows span.label{float:left;font-weight:700;width:9em;margin-right:1em;text-align:left}div.rows ol{margin-left:0;padding:.5em 1em 0 0}div.rows li{border-bottom:1px solid #EEE;padding-bottom:.2em;padding-top:.1em;width:100%}div.rows ul li{margin-left:7.3em}div.rows ul li:first-child{float:none;clear:none;margin-left:0}div.rows ol li li{border-bottom:0}.tagweight0{font-size:12px}.tagweight1{font-size:14px}.tagweight2{font-size:16px}.tagweight3{font-size:18px}.tagweight4{font-size:20px}.tagweight5{font-size:22px}.tagweight6{font-size:24px}.tagweight7{font-size:26px}.tagweight8{font-size:28px}.tagweight9{font-size:30px}.toolbar{background-color:#EEE;border:1px solid #E8E8E8;font-size:85%;padding:3px 3px 5px 5px;vertical-align:middle}.toolbar label{font-size:100%;font-weight:700;margin-left:.5em}.toolbar select{font-size:97%;height:auto;line-height:inherit;padding:0;margin:0;width:auto;white-space:nowrap}.toolbar #tagsel_tag,.toolbar .hold{padding-left:28px;font-size:97%;font-weight:700}.toolbar #tagsel_form{margin-top:.5em}.toolbar li{list-style:none}.toolbar li a{border-left:1px solid #e8e8e8}.toolbar li:first-child a{border-left:0}.toolbar ul{padding-left:0}#basket .toolbar{padding:7px 5px 9px 9px}#selections-toolbar,.selections-toolbar{background:-moz-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#b2b2b2),color-stop(14%,#e0e0e0),color-stop(100%,#e8e8e8));background:-webkit-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-o-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:-ms-linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);background:linear-gradient(top,#b2b2b2 0,#e0e0e0 14%,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0e0e0', endColorstr='#e8e8e8', GradientType=0);margin:0 0 1em;padding-top:.5em;padding-left:10px}#tagsel_span input.submit,#tagsel_tag,.view a,.view span{background-image:url(../images/sprite.png);background-repeat:no-repeat}#tagsel_span input.submit,#tagsel_tag{border:0;background-color:transparent;font-size:100%;color:#0076B2;cursor:pointer;background-position:1px -643px;padding-left:25px;text-decoration:none}#tagsel_tag.disabled{background-position:-1px -667px}#selections-toolbar input.hold:hover,#tagsel_span input:hover{color:#005580;text-decoration:underline}#selections-toolbar a.disabled,#selections-toolbar a.disabled:hover,#selections-toolbar input.hold.disabled,#selections-toolbar input.hold.disabled:hover,#tagsel_span input.disabled,#tagsel_span input.disabled:hover,#tagsel_span input.hold.disabled,#tagsel_span input.hold.disabled:hover,.selections-toolbar a.disabled,.selections-toolbar a.disabled:hover{color:#888;text-decoration:none;padding-left:23px}.results_summary{display:block;font-size:85%;color:#707070;padding:0 0 .5em}.results_summary .results_summary{font-size:100%}.results_summary.actions{margin-top:.5em}.results_summary.tagstatus{display:inline}.results_summary .label{color:#202020}.results_summary a{font-weight:400}#views{border-bottom:1px solid #D6D6D6;margin-bottom:.5em;padding:0 2em .2em .2em}.view{padding:.2em .2em 2px}#bibliodescriptions,#isbdcontents{clear:left;margin-top:.5em}.view a,.view span{font-size:87%;font-weight:400;padding:.4em .7em 5px 26px;text-decoration:none}.nav_results,span#Briefhistory,span#Fullhistory,span#ISBDview,span#MARCview,span#Normalview{font-weight:700}a#MARCview,a#MARCviewPop,span#MARCview,span#MARCviewPop{background-position:-3px -23px}a#ISBDview,span#ISBDview{background-position:-3px -52px}a#Normalview,span#Normalview{background-position:-1px 6px}.view a{background-color:#F3F3F3;border-left:1px solid #C9C9C9}#bookcover{float:left;margin:0;padding:0}#bookcover .no-image{margin-right:10px;margin-bottom:10px}#bookcover img{margin:0 1em 1em 0}.results-pagination{position:absolute;top:32px;left:-1px;width:100%;height:auto;border:1px solid #D0D0D0;display:none;background-color:#F3F3F3;padding-bottom:10px;z-index:100}.back{float:right}.back input{background:0 0!important;color:#999!important}.pagination_list ul{padding-top:40px;padding-left:0}.pagination_list li{float:bottom;padding:4px;color:#999}.pagination_list li.highlight{background-color:#F3F3F3;border-top:1px solid #DDD;border-bottom:1px solid #DDD}.pagination_list li a{padding-left:0}.pagination_list .li_pag_index{color:#999;float:left;font-size:15px;font-weight:700;padding-right:10px;text-align:right;width:13px}.nav_results{background-color:#F3F3F3;border:1px solid #D0D0D0;font-size:95%;margin-top:.5em;position:relative}.nav_results .l_Results a{background:url(../images/sprite.png) 0 -504px no-repeat #E1E1E1;color:#069;display:block;padding:8px 28px;text-decoration:none}#login4tags,#renewall_link,#renewselected_link,a.new{background-image:url(../images/sprite.png)}#login4tags,#renewall_link,#renewcontrols a,#renewselected_link{background-repeat:no-repeat}.pg_menu li,.pg_menu li span{color:#B2B2B2}.nav_results .l_Results:hover{background-color:#D9D9D9}.pg_menu{margin:0;border-top:1px solid #D0D0D0}.pg_menu li{display:inline;margin:0}#listResults li,.pg_menu li a,.pg_menu li span{display:block;text-align:center;font-weight:400}.pg_menu li.back_results a{border-left:1px solid #D0D0D0;border-right:1px solid #D0D0D0}.pg_menu li a,.pg_menu li span{background-color:#F3F3F3;float:left;padding:.4em .5em;text-decoration:none}#marc td,#marc th,.deleteshelf,input.editshelf,input.hold{background-color:transparent}.nav_pages .close_pagination a,.nav_pages li a{text-decoration:none!important}#listResults li{background-color:#999;color:#C5C5C5;margin-right:1px;font-size:80%;padding:0;min-width:18px}#listResults li:hover{background-color:#069}#listResults li a{color:#FFF;font-weight:400}.nav_pages .close_pagination{padding-right:10px;position:absolute;right:3px;top:-25px}.nav_pages ul{padding-top:10px}.nav_pages li{float:left;padding:4px;color:#999}.nav_pages li a:hover{text-decoration:underline}#action a,a.brief,a.deleteshelf,a.detail,a.download,a.editshelf,a.empty,a.hold,a.new,a.print-large,a.print-small,a.removeitems,a.send,a.tag_add,input.hold{text-decoration:none}.nav_pages li ul{float:left}#action{margin:.5em 0 0;background-color:#F3F3F3;border:1px solid #E8E8E8;padding-bottom:3px}#action li{margin:.2em;padding:.3em 0}#action a{font-weight:700}#export li,#moresearches_menu li{padding:0;margin:0}#format,#furthersearches,a.addtocart,a.addtoshelf{padding-left:35px}#export li a,#moresearches_menu li a{font-weight:400}#export li a.menu-inactive,#marc p .label,#moresearches_menu li a.menu-inactive,.authorizedheading,.authstanzaheading,.links a,.suggestionlabel,input.hold{font-weight:700}.highlight_controls{float:left}.deleteshelf,.newshelf,.newshelf.disabled,a.addtocart,a.addtoshelf,a.brief,a.deleteshelf,a.deleteshelf.disabled,a.detail,a.download,a.editshelf,a.empty,a.hide,a.highlight_toggle,a.hold,a.hold.disabled,a.incart,a.new,a.print-large,a.print-small,a.removefromlist,a.removeitems,a.removeitems.disabled,a.reserve,a.send,a.tag_add,input.editshelf,input.hold,input.hold.disabled{background-image:url(../images/sprite.png);background-repeat:no-repeat}a.addtocart{background-position:-5px -265px}a.addtoshelf{background-position:-5px -225px}a.brief{background-position:-2px -868px;padding-left:27px}a.cartRemove{color:#c33;font-size:90%;margin:0;padding:0}a.detail{background-position:-2px -898px;padding-left:27px}a.download{background-position:-5px -348px;padding-left:20px}a.editshelf{background-position:2px -348px;padding-left:26px}a.empty{background-position:2px -598px;padding-left:30px}a.hide{background-position:-3px -814px;text-decoration:none;padding-left:26px}a.highlight_toggle{background-position:-5px -841px;display:none;padding-left:35px}#tagslist li,.tag_results_input label,.tagsinput label{display:inline}a.hold,input.hold{background-position:-2px -453px;padding-left:23px}a.hold.disabled,input.hold.disabled{background-position:-5px -621px}a.incart{background-position:-5px -265px;color:#666;padding-left:35px}a.new{background-position:-4px -922px;padding-left:23px}a.print-small{background-position:0 -423px;padding-left:30px}a.print-large{background-position:-5px -186px;padding-left:35px}a.deleteshelf,a.removeitems{background-position:2px -690px;padding-left:25px}a.deleteshelf.disabled,a.removeitems.disabled{background-position:2px -712px}a.reserve{background-position:-6px -144px;padding-left:35px}a.send{background-position:2px -386px;padding-left:28px}a.tag_add{background-position:3px -1111px;padding-left:27px}input.hold{border:0;color:#0076B2}.deleteshelf,.newshelf,input.editshelf{color:#069;font-size:100%;border:0;text-decoration:none;filter:none;cursor:pointer}input.editshelf{background-position:2px -736px;padding-left:29px}.newshelf{background-position:2px -764px;padding-left:28px}.newshelf.disabled{background-position:-4px -791px}.deleteshelf{background-position:2px -690px;padding-left:25px}#hierarchies a:hover,.deleteshelf:hover{color:#903}.deleteshelf:active,.editshelf:active{border:0}#login4tags{background-position:-6px -1130px;padding-left:20px;text-decoration:none}.tag_results_input{margin-left:1em;padding:.3em;font-size:12px}.tag_results_input input[type=text],.tagsinput input[type=text]{font-size:inherit;margin:0;padding:0}#marc p,#marc ul{padding-bottom:.6em}.branch-info-tooltip{display:none}.ui-tooltip-content p{margin:.3em 0}#social_networks a{background:url(../images/social-sprite.png) no-repeat;display:block;height:20px!important;width:20px;text-indent:-999em}#marc td:first-child,.authref{text-indent:2em}#social_networks span{color:#274D7F;display:block;float:left;font-size:85%;font-weight:700;line-height:2em;margin:.5em 0 .5em .5em!important}#social_networks div{float:left!important;margin:.5em 0 .5em .2em!important}#social_networks #facebook{background-position:-7px -35px}#social_networks #twitter{background-position:-7px -5px}#social_networks #linkedin{background-position:-7px -95px}#social_networks #delicious{background-position:-7px -66px}#social_networks #email{background-position:-7px -126px}#marc td,#marc th{border:0;padding:3px 5px;text-align:left}#marc .results_summary{clear:left}#marc .results_summary ul{display:inline;float:none;clear:none;margin:0;padding:0}.copiesrow,.hold-options,.holdrow,.toggle-hold-options{clear:both}#plainmarc td,#plainmarc th{border:0;padding:2px;vertical-align:top}#marc .results_summary li{display:inline}#items,#items td #items th{border:1px solid #EEE;font-size:90%}#plainmarc table{border:0;margin:.7em 0 0;font-family:monospace;font-size:95%}#plainmarc th{background-color:#FFF;text-align:left}#renewcontrols{float:right;font-size:66%}#renewcontrols a{text-decoration:none;padding:.1em .4em .1em 18px}#renewselected_link{background-position:-5px -986px}#renewall_link{background-position:-8px -967px}.authstanza{margin-top:1em}.authstanza li{margin-left:.5em}#didyoumean,#top-pages{margin:0 0 .5em}.authres_notes,.authres_otherscript,.authres_seealso{padding-top:.5em}#didyoumean{background-color:#EEE;border:1px solid #E8E8E8;text-align:left;padding:.5em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.searchsuggestion{padding:.2em .5em;display:inline-block}.authlink{padding-left:.25em}#hierarchies a{font-weight:400;text-decoration:underline;color:#069}.dropdown-menu>li>a{font-size:90%}a.listmenulink:link,a.listmenulink:visited{color:#0076B2;font-weight:700}a.listmenulink:active,a.listmenulink:hover{color:#FFF;font-weight:700}#cartDetails,#cartUpdate,#holdDetails,#listsDetails{background-color:#FFF;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);color:#000;display:none;font-size:90%;margin:0;padding:8px 20px;text-align:center;width:180px;z-index:2}#menu,#search-facets{border:1px solid #D2D2CF;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}#menu ul,#search-facets ul{margin:0;padding:.3em}#menu form,#search-facets form{margin:0}#menu h4,#search-facets h4{font-size:90%;margin:0 0 .6em;text-align:center}#menu h4 a,#search-facets h4 a{background-color:#F2F2EF;border-radius:8px 8px 0 0;border-bottom:1px solid #D8D8D8;display:block;font-weight:700;padding:.7em .2em;text-decoration:none}#menu li,#search-facets li{font-size:90%;font-weight:700}#menu li li,#search-facets li li{font-weight:400;font-size:95%;line-height:125%;margin-bottom:2px;padding:.1em .2em}#menu li.showmore a,#search-facets li.showmore a{font-weight:700;text-indent:1em}#menu a,#search-facets a{font-weight:400;text-decoration:underline}#menu .facet-count,#search-facets .facet-count{display:inline-block}#menu{font-size:94%}#menu li a{background:#eee;text-decoration:none;display:block;border:1px solid #D8D8D8;border-radius:5px 0 0 5px;border-bottom-color:#999;font-size:111%;padding:.4em .6em;margin:.4em -1px .4em 0}#menu li a:hover{background:#eaeef5}#menu li.active a{background-color:#FFF;background-image:none;border-right-width:0;font-weight:700}.addto a.addtocart,.searchresults a.highlight_toggle{background-image:url(../images/sprite.png);background-repeat:no-repeat}#menu li.active a:hover{background-color:#fff}#menu h4{display:none}#addto{max-width:10em}.addto a.addtocart{background-position:-5px -266px;text-decoration:none;padding-left:33px}.searchresults p{margin:0;padding:0 0 .6em}.searchresults p.details{color:#979797}.searchresults a.highlight_toggle{background-position:-11px -841px;display:none;font-weight:400;padding:0 10px 0 21px}.searchresults .commentline{background-color:#ffc;background-color:rgba(255,255,204,.4);border:1px solid #CCC;display:inline-block;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,.2);box-shadow:0 1px 1px 0 rgba(0,0,0,.2);margin:.3em;padding:.4em}.searchresults .commentline.yours{background-color:#effed5;background-color:rgba(239,254,213,.4)}.commentline .avatar{float:right;padding-left:.5em}.term{color:#900;background-color:#FFC}.shelvingloc{display:block}#CheckAll,#CheckNone,.CheckAll,.CheckNone{font-weight:400;margin:0 .5em;text-decoration:underline}span.sep{color:#888;padding:0 .2em 0 .5em;text-shadow:1px 1px 0 #FFF}.pages a:first-child,.pages span:first-child{border-width:1px;border-bottom-left-radius:3px;border-top-left-radius:3px}.pages a:last-child,.pages span:last-child{border-width:1px 1px 1px 0;border-bottom-right-radius:3px;border-top-right-radius:3px}.pages .currentPage,.pages .inactive,.pages a{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background-color:#FFF;border-color:#DDD;border-image:none;border-style:solid;border-width:1px 1px 1px 0;float:left;font-size:11.9px;line-height:20px;padding:4px 12px;text-decoration:none}.close,.close:hover{font-size:inherit;opacity:inherit}.pages .inactive{background-color:#F5F5F5}.pages a[rel=last]{border-bottom-right-radius:3px;border-top-right-radius:3px}.hold-message{background-color:#FFF0B1;display:inline-block;margin:.5em;padding:.2em .5em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#logo a,.checkedout,.intransit,.item-status,.lost,.notforloan,.notonhold,.waiting{display:block}.close{color:#08C;position:inherit;top:auto;right:auto;filter:none;float:none;font-weight:400;text-shadow:none}.closebtn,.notesrow label,.tdlabel{font-weight:700}.close:hover{color:#538200;filter:inherit}.alert .closebtn{position:relative;top:-2px;right:-21px;line-height:20px}.modal-header .closebtn{margin-top:2px}.closebtn{float:right;font-size:20px;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.closebtn:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}button.closebtn{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.btn-group label,.btn-group select{font-size:13px}.span2 select{width:100%}.popup .main{font-size:90%;padding:0 1em}.popup legend{line-height:1.5em;margin-bottom:.5em}.item-status{font-size:95%;margin-bottom:.5em}.available{color:#060}.notforloan{color:#900}.lost{color:#666}.suggestion{background-color:#EEEEEB;border:1px solid #DDDED3;margin:1em auto;padding:.5em;width:35%;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.librarypulldown .transl1{width:auto}.nolibrarypulldown{width:68%}.nolibrarypulldown .transl1{width:87%}#logo,#logo a{border:0;margin:0;width:100px}#opac-main-search select{width:auto;max-width:12em}#logo{background:url(../images/koha-logo-navbar.png) 0 no-repeat;float:left!important;padding:0}#logo a{cursor:pointer;height:0!important;overflow:hidden;padding:40px 0 0;text-decoration:none}#user-menu-trigger,.tdlabel{display:none}#user-menu-trigger .icon-user{background:url(../lib/bootstrap/img/glyphicons-halflings-white.png) -168px 0 no-repeat;height:14px;line-height:14px;margin:12px 0 0;vertical-align:text-top;width:14px}.idbresult img,.idreambookssummary img,.throbber{vertical-align:middle}#user-menu-trigger .caret{border-bottom-color:#999;border-top-color:#999;margin-top:18px}.floating{-webkit-box-shadow:0 3px 2px 0 rgba(0,0,0,.4);box-shadow:0 3px 2px 0 rgba(0,0,0,.4);margin-top:0}#ulactioncontainer{min-width:16em}.notesrow span{display:block}.tags ul,.tags ul li{display:inline}.thumbnail-shelfbrowser span{margin:0 auto}.dropdown-menu>li>a.menu-inactive:hover{background:#FFF;color:#000}.table .sorting_asc{padding-right:19px;background:url(../images/asc.gif) right center no-repeat #ECEDE6}.table .sorting_desc{padding-right:19px;background:url(../images/desc.gif) right center no-repeat #ECEDE6}.table .sorting{padding-right:19px;background:url(../images/ascdesc.gif) right center no-repeat #ECEDE6}.table .nosort,.table .nosort.sorting,.table .nosort.sorting_asc,.table .nosort.sorting_desc{padding-right:19px;background:#ECEDE6}.table td,.table th{line-height:135%}.tags ul{margin-left:0}.coverimages{float:right}#i18nMenu{margin-left:1em}#i18nMenu li{font-size:85%}#i18nMenu li li,#i18nMenu li li>a{font-size:100%}#i18nMenu li li>a:hover{color:#FFF}#i18nMenu li a{color:#0076B2}#i18nMenu .dropdown-menu li p{clear:both;display:block;font-weight:400;line-height:20px;padding:3px 20px}#authorSearch label,#subjectsList label{display:inline;vertical-align:middle}#authorSearch ul,#subjectsList ul{border-bottom:1px solid #EEE;list-style-type:none;margin:0;padding:.6em 0}#authorSearch li,#subjectsList li{margin:0;padding:0}#overdrive-results{font-weight:700;padding-left:1em}#overdrive-results-list .star-rating-control{display:block;overflow:auto}#shelfbrowser table{margin:0}#shelfbrowser table,#shelfbrowser td,#shelfbrowser th{border:0;font-size:90%;text-align:center}#shelfbrowser td,#shelfbrowser th{padding:3px 5px;width:20%}#shelfbrowser a{display:block;font-size:110%;font-weight:700;text-decoration:none}#shelfbrowser #browser_next,#shelfbrowser #browser_previous{background-image:url(../images/sprite.png);background-repeat:no-repeat;width:16px}#shelfbrowser #browser_next a,#shelfbrowser #browser_previous a{cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:50px 0 0;text-decoration:none;width:16px}#shelfbrowser #browser_previous{background-position:-9px -1007px}#shelfbrowser #browser_next{background-position:-9px -1057px}#holds{margin:0 auto;max-width:800px}.holdrow{padding:0 1em 1em;border-bottom:1px solid #CCC;margin-bottom:.5em}.holdrow fieldset{border:0;margin:0;float:none}#idreambooksreadometer,.m880{float:right}.holdrow fieldset .label{font-size:14px}.holdrow label{display:inline}.toggle-hold-options{background-color:#eee;display:block;font-weight:700;margin:1em 0;padding:.5em}a.idreambooksrating{font-size:30px;color:#29ADE4;padding-left:85px;line-height:30px;text-decoration:none}.idreambookslegend{font-size:small}a.reviewlink,a.reviewlink:visited{text-decoration:none;color:#000;font-weight:400}.idreambookssummary a{color:#707070;text-decoration:none}.idbresult{color:#29ADE4;text-align:center;margin:.5em;padding:.5em}.idbresult a,.idbresult a:visited{text-decoration:none;color:#29ADE4}.idbresult img{padding-right:6px}.js-show,.modal-nojs .modal-footer,.modal-nojs .modal-header{display:none}.contents .r,.contents .t{display:inline}.contents{width:75%}.contentblock{font-size:95%;line-height:135%;position:relative;margin-left:2em}.contents .t:first-child:before{content:"→ "}.contents .t:before{content:"\A → ";white-space:pre}.contents .t{font-weight:700}.m880{display:block;text-align:right;width:50%;padding-left:20px}#memberentry-form input.error{border-color:#c00;box-shadow:0 1px 1px #c00 inset,0 0 8px #c00;color:red;outline:0}#memberentry-form input.error:focus{border-color:#c00;box-shadow:0 1px 1px #c00 inset,0 0 8px #c00;color:red;outline:0}#memberentry-form label.error{color:#c00;float:none;font-size:90%}#dc_fieldset{border:1px solid #ddd;padding:5px;border-radius:10px}.label_dc{display:inline;padding:0;margin:0;cursor:pointer}@media only screen and (min-width:0px) and (max-width:304px){#oh:after{content:"(min-width: 0px) and (max-width: 304px)"}input,select,textarea{width:auto;max-width:11em}}@media only screen and (min-width:0px) and (max-width:390px){#oh:after{content:"(min-width: 0px) and (max-width: 390px)"}.statictabs li a,.ui-tabs .ui-tabs-nav li a{padding:.1em .5em}#views,.view{padding:0}#views{border:0;margin:0}.view a,.view span{border:1px solid #C9C9C9;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-size:80%;padding:.3em .4em 4px 26px}.input-fluid{width:90%}}@media only screen and (min-width:305px) and (max-width:341px){#oh:after{content:"(min-width: 305px) and (max-width: 341px)"}}@media only screen and (min-width:342px) and (max-width:479px){#oh:after{content:"(min-width: 342px) and (max-width: 479px)"}.input-fluid{width:75%}}@media (max-width:979px){.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;margin-left:0;margin-right:0}}@media only screen and (max-width:608px){#searchsubmit,.actions .label{font-weight:700}fieldset.rows label{display:block;float:none;text-align:left}fieldset.rows li{padding-bottom:.5em}.navbar-inner,body{padding:0}fieldset.rows .hint,fieldset.rows ol{margin-left:0}.tdlabel{display:inline}.navbar-fixed-top,.navbar-static-top{margin:0}#remove-selected,#selections-toolbar,.checkall,.clearall,.highlight_controls,.list-actions,.selectcol{display:none}.table td.bibliocol{padding-left:1.3em}.actions{display:block}.actions #login4tags,.actions a{background-color:#F2F2EF;border:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-weight:700;display:block;font-size:120%;margin:2px 0}.actions .label{display:block}.actions #login4tags{margin-right:1em}#opac-main-search .input-append,#opac-main-search .librarypulldown .transl1,#opac-main-search button,#opac-main-search input,#opac-main-search select{display:block;width:97%;max-width:100%;margin:.5em 0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}#opac-main-search .input-append{margin:0;width:100%}#opac-main-search .librarypulldown .transl1{width:94.5%}#toolbar .resort{font-size:14px;max-width:100%;margin:.5em 0;padding:4px 6px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.mastheadsearch{margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.main{margin:.5em 0;padding:15px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.breadcrumb{margin:10px 0}#moresearches{text-align:center}#topissues .item-thumbnail,#usersuggestions .item-thumbnail,#usertags .item-thumbnail,.tabs-container .item-thumbnail,.ui-tabs-panel .item-thumbnail{margin:.5em 0 0 .5em}#topissues .table-bordered,#usersuggestions .table-bordered,#usertags .table-bordered,.tabs-container .table-bordered,.ui-tabs-panel .table-bordered{border:none}#topissues .table th,#topissues .table thead,#usersuggestions .table th,#usersuggestions .table thead,#usertags .table th,#usertags .table thead,.tabs-container .table th,.tabs-container .table thead,.ui-tabs-panel .table th,.ui-tabs-panel .table thead{display:none}#topissues .table td,#usersuggestions .table td,#usertags .table td,.tabs-container .table td,.ui-tabs-panel .table td{border-right:1px solid #ddd;border-left:1px solid #ddd;border-top:0;display:block;padding:.2em}#topissues .table p,#usersuggestions .table p,#usertags .table p,.tabs-container .table p,.ui-tabs-panel .table p{margin-bottom:2px}#topissues tr,#usersuggestions tr,#usertags tr,.tabs-container tr,.ui-tabs-panel tr{display:block;margin-bottom:.6em}#topissues tr td:first-child,#usersuggestions tr td:first-child,#usertags tr td:first-child,.tabs-container tr td:first-child,.ui-tabs-panel tr td:first-child{border-top:1px solid #ddd;border-radius:5px 5px 0 0}#topissues tr td:last-child,#usersuggestions tr td:last-child,#usertags tr td:last-child,.tabs-container tr td:last-child,.ui-tabs-panel tr td:last-child{border-radius:0 0 5px 5px;border-bottom:2px solid #CACACA}.no-image{display:none}}@media only screen and (max-width:700px){#members,#opac-main-search label{display:none}#logo{background:url(../lib/bootstrap/img/glyphicons-halflings-white.png) 0 -24px no-repeat;margin:14px 14px 0;width:14px}#logo a{padding:14px 0 0;width:14px}#user-menu-trigger{display:inline;margin-right:12px}#members{clear:both}#members li{padding-right:20px;text-align:right;border-bottom:1px solid #555}#members li:first-child{border-top:1px solid #555}#members li:last-child{border-bottom:none}#members .nav,#members .nav.pull-right,#members .nav>li{float:none}#members .divider-vertical{border:0;height:0;margin:0}}@media only screen and (min-width:480px) and (max-width:608px){#oh:after{content:" Between 480 pixels and 608 pixels. "}.input-fluid{width:75%}}@media only screen and (min-width:608px) and (max-width:767px){#oh:after{content:" Between 608 pixels and 767 pixels. "}.main{padding:.8em 20px}.breadcrumb{margin:10px 0}.navbar-static-bottom{margin-left:-20px;margin-right:-20px}.row-fluid input.span6{width:48.9362%}}@media only screen and (max-width:767px){#menu li a,a.title{font-size:120%}#userresults{margin:0 -20px}#top-pages,.breadcrumb,.menu-collapse{display:none}#menu,#search-facets{margin-bottom:.5em}#menu h4,#search-facets h4{display:block;margin:0;padding:0}#menu h4 a,#search-facets h4 a{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;border-bottom:0;font-weight:400;padding:.7em .2em}#menu ul,#search-facets ul{padding:0}#menu li a{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0;display:block;text-decoration:none;border-bottom:1px solid #D8D8D8;margin:0}#menu li.active a{border-top:1px solid #D8D8D8;border-right-width:1px}#menu li:last-child a{-webkit-border-radius:0 0 7px 7px;-moz-border-radius:0 0 7px 7px;border-radius:0 0 7px 7px}#search-facets li{padding:.4em}#search-facets h5{margin:.2em}#menu h4 a.menu-open,#search-facets h4 a.menu-open{-webkit-border-radius:7px 7px 0 0;-moz-border-radius:7px 7px 0 0;border-radius:7px 7px 0 0;border-bottom:1px solid #D8D8D8}}@media only screen and (max-width:800px){.cartlabel,.listslabel{display:none}.navbar .divider-vertical{margin:0 2px}.navbar #members .divider-vertical{margin:0 9px}}@media only screen and (min-width:768px){.main{margin-left:20px;margin-right:20px}#menu{border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-right:1px solid #D8D8D8}#menu h4{display:none}#menu ul{padding:1em 0}}@media only screen and (min-width:768px) and (max-width:984px){#oh:after{content:" Between 768 and 984 pixels. "}.librarypulldown .transl1{width:38%}}@media only screen and (min-width:984px){#oh:after{content:" Above 984 pixels. "}.librarypulldown .transl1{width:53%}}@media only screen and (max-width:1040px){.pg_menu li a{float:none;text-align:left}.pg_menu li.back_results a{border:1px solid #D0D0D0;border-width:1px 0}#ulactioncontainer{min-width:0}}
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (+8 lines)
Lines 1-3 Link Here
1
[% USE Biblio %]
1
<ul id="action">
2
<ul id="action">
2
    [% UNLESS ( norequests ) %]
3
    [% UNLESS ( norequests ) %]
3
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
Lines 8-13 Link Here
8
            [% END %]
9
            [% END %]
9
        [% END %]
10
        [% END %]
10
    [% END %]
11
    [% END %]
12
13
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
14
        [% IF Koha.Preference('ArticleRequests') %]
15
            <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblionumber %]">Request article</a></li>
16
        [% END %]
17
    [% END %]
18
11
    <li><a class="print-large" href="#" onclick="window.print();">Print</a></li>
19
    <li><a class="print-large" href="#" onclick="window.print();">Print</a></li>
12
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
20
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
13
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
21
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt (+214 lines)
Line 0 Link Here
1
[% USE Koha %]
2
[% USE Branches %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Request article</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% BLOCK cssinclude %][% END %]
7
</head>
8
9
[% INCLUDE 'bodytag.inc' bodyid='opac-holds' %]
10
[% INCLUDE 'masthead.inc' %]
11
12
<div class="main">
13
    <ul class="breadcrumb">
14
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15
        <li><a href="#">Request article</a></li>
16
    </ul>
17
18
    <div class="container">
19
        [% IF biblio.can_article_request( patron ) %]
20
            [% SET article_request_type = biblio.article_request_type( patron ) %]
21
22
            [% IF article_request_type == 'yes' %]       [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFields') %]           [% END %]
23
            [% IF article_request_type == 'bib_only' %]  [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsRecordOnly') %] [% END %]
24
            [% IF article_request_type == 'item_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %]   [% END %]
25
26
            <h3>Place article request for [% biblio.title %]</h3>
27
28
            <form id="place-article-request" method="post" action="/cgi-bin/koha/opac-request-article-do.pl">
29
                <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblio.biblionumber %]" />
30
31
                <fieldset class="rows">
32
                    <ul>
33
                        <li>
34
                            [% IF mandatory_fields.search('title') %]
35
                                <label for="title" class="required">Title:</label>
36
                            [% ELSE %]
37
                                <label for="title">Title:</label>
38
                            [% END %]
39
                            <input type="text" name="title" id="title" size="50"/>
40
                        </li>
41
42
                        <li>
43
                            [% IF mandatory_fields.search('author') %]
44
                                <label for="author" class="required">Author:</label>
45
                            [% ELSE %]
46
                                <label for="author">Author:</label>
47
                            [% END %]
48
                            <input type="text" name="author" id="author" size="50"/>
49
                        </li>
50
51
                        <li>
52
                            [% IF mandatory_fields.search('volume') %]
53
                                <label for="volume" class="required">Volume:</label>
54
                            [% ELSE %]
55
                                <label for="volume">Volume:</label>
56
                            [% END %]
57
                            <input type="text" name="volume" id="volume" size="50"/>
58
                        </li>
59
60
                        <li>
61
                            [% IF mandatory_fields.search('issue') %]
62
                                <label for="issue" class="required">Issue:</label>
63
                            [% ELSE %]
64
                                <label for="issue">Issue:</label>
65
                            [% END %]
66
                            <input type="text" name="issue" id="issue" size="50"/>
67
                        </li>
68
69
                        <li>
70
                            [% IF mandatory_fields.search('date') %]
71
                                <label for="date" class="required">Date:</label>
72
                            [% ELSE %]
73
                                <label for="date">Date:</label>
74
                            [% END %]
75
                            <input type="text" name="date" id="date" size="50"/>
76
                        </li>
77
78
                        <li>
79
                            [% IF mandatory_fields.search('pages') %]
80
                                <label for="pages" class="required">Pages:</label>
81
                            [% ELSE %]
82
                                <label for="pages">Pages:</label>
83
                            [% END %]
84
                            <input type="text" name="pages" id="pages" size="50"/>
85
                        </li>
86
87
                        <li>
88
                            [% IF mandatory_fields.search('chapters') %]
89
                                <label for="chapters" class="required">Chapters:</label>
90
                            [% ELSE %]
91
                                <label for="chapters">Chapters:</label>
92
                            [% END %]
93
                            <input type="text" name="chapters" id="chapters" size="50"/>
94
                        </li>
95
96
                        <li>
97
                            <label for="branchcode">Pickup library:</label>
98
                            <select name="branchcode" id="branchcode">
99
                                [% FOREACH b IN Branches.all %]
100
                                    [% IF b.branchcode == Branches.GetLoggedInBranchcode %]
101
                                        <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
102
                                    [% ELSE %]
103
                                        <option value="[% b.branchcode %]">[% b.branchname %]</option>
104
                                    [% END %]
105
                                [% END %]
106
                            </select>
107
                        </li>
108
                    </ul>
109
                </fieldset>
110
111
                [% IF article_request_type != 'bib_only' %]
112
                    <table class="copiesrow table table-bordered table-striped">
113
                        <caption>Select a specific item:</caption>
114
                        <thead>
115
                            <tr>
116
                                <th>&nbsp;</th>
117
                                <th>Item type</th>
118
                                <th>Barcode</th>
119
                                <th>Home library</th>
120
                                <th>Call number</th>
121
                            </tr>
122
                        </thead>
123
124
                        <tbody>
125
                            [% FOREACH item IN biblio.items %]
126
                                [% IF item.can_article_request( patron ) %]
127
                                    <tr>
128
                                        <td>
129
                                            [% IF article_request_type == 'item_only' && !checked %]
130
                                                [% SET checked = 1 %]
131
                                                <input type="radio" name="itemnumber" value="[% item.itemnumber %]" checked="checked" />
132
                                            [% ELSE %]
133
                                                <input type="radio" name="itemnumber" value="[% item.itemnumber %]" />
134
                                            [% END %]
135
                                        </td>
136
                                        <td>
137
                                            [% item.itype %]
138
                                        </td>
139
                                        <td>
140
                                            [% item.barcode %]
141
                                        </td>
142
                                        <td>
143
                                            [% item.homebranch %]
144
                                        </td>
145
                                        <td>
146
                                            [% item.itemcallnumber %]
147
                                        </td>
148
                                    </tr>
149
                                [% END %]
150
                            [% END %]
151
152
                            [% IF article_request_type != 'item_only' %]
153
                                <tr>
154
                                    <td>
155
                                        <input type="radio" name="itemnumber" value="" checked="checked"/>
156
                                    </td>
157
                                    <td colspan="4">
158
                                        Any item
159
                                    </td>
160
                                </tr>
161
                            [% END %]
162
                        </tbody>
163
                    </table>
164
                [% END %]
165
166
                <input type="submit" class="btn" value="Place request" />
167
            </form>
168
        [% ELSE %]
169
            No article requests can be made for this record.
170
        [% END %]
171
172
    </div> <!-- / .container -->
173
</div> <!-- / .main -->
174
175
[% INCLUDE 'opac-bottom.inc' %]
176
177
[% BLOCK jsinclude %]
178
<script type="text/javascript">
179
// <![CDATA[
180
    allow_submit = false;
181
    $('#place-article-request').on('submit', function( event ){
182
        if ( ! allow_submit ) {
183
            event.preventDefault();
184
185
            [% IF article_request_type == 'item_only' %]
186
                if ( ! $("input:radio[name='itemnumber']").is(":checked") ) {
187
                    alert( _("Please select a specific item for this article request.") );
188
                    return 0;
189
                }
190
            [% END %]
191
192
            var mandatory_fields = "[% mandatory_fields %]";
193
            var m = new Array();
194
            if ( mandatory_fields ) m = mandatory_fields.split(",");
195
            var f = new Array();
196
197
            for (i = 0; i < m.length; i++) {
198
                if ( ! $("#" + m[i]).val() ) {
199
                    f.push( m[i] );
200
                }
201
            }
202
203
            if ( f.length ) {
204
                alert( _("The following fields are required and not filled in: ") + f.join(", ") );
205
                return 0;
206
            }
207
208
            allow_submit = true;
209
            $('#place-article-request').submit();
210
        }
211
    });
212
// ]]>
213
</script>
214
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (+6 lines)
Lines 507-512 Link Here
507
                                                            [% END # UNLESS SEARCH_RESULT.norequests %]
507
                                                            [% END # UNLESS SEARCH_RESULT.norequests %]
508
                                                        [% END # IF RequestOnOpac %]
508
                                                        [% END # IF RequestOnOpac %]
509
509
510
                                                        [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
511
                                                            [% IF Koha.Preference('ArticleRequests') %]
512
                                                                <span class="actions"><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a></span>
513
                                                            [% END %]
514
                                                        [% END %]
515
510
                                                        [% IF ( TagsInputEnabled ) %]
516
                                                        [% IF ( TagsInputEnabled ) %]
511
                                                            [% IF ( loggedinusername ) %]
517
                                                            [% IF ( loggedinusername ) %]
512
                                                                <span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span>
518
                                                                <span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (+95 lines)
Lines 118-123 Link Here
118
                                [% IF ( BORROWER_INFO.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INFO.amountoutstanding %])</a></li>[% END %]
118
                                [% IF ( BORROWER_INFO.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INFO.amountoutstanding %])</a></li>[% END %]
119
                            [% END %]
119
                            [% END %]
120
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
120
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
121
                            [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current %]<li><a href="#opac-user-article-requests">Article requests ([% borrower.article_requests_current.count %])</a></li>[% END %]
121
                        </ul>
122
                        </ul>
122
123
123
                        <div id="opac-user-checkouts">
124
                        <div id="opac-user-checkouts">
Lines 693-698 Link Here
693
                            [% END %]
694
                            [% END %]
694
                        </div> <!-- / #opac-user-holds -->
695
                        </div> <!-- / #opac-user-holds -->
695
                        [% END # / #RESERVES.count %]
696
                        [% END # / #RESERVES.count %]
697
698
                        [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current.count %]
699
                            <div id="opac-user-article-requests">
700
                                <table id="article-requests-table" class="table table-bordered table-striped">
701
                                    <caption>Article requests <span class="count">([% borrower.article_requests_current.count %] total)</span></caption>
702
                                    <!-- RESERVES TABLE ROWS -->
703
                                    <thead>
704
                                        <tr>
705
                                            <th class="anti-the">Record title</th>
706
                                            <th class="psort">Placed on</th>
707
                                            <th class="anti-the">Title</th>
708
                                            <th>Author</th>
709
                                            <th>Volume</th>
710
                                            <th>Issue</th>
711
                                            <th>Date</th>
712
                                            <th>Pages</th>
713
                                            <th>Chapters</th>
714
                                            <th>Status</th>
715
                                            <th>Pickup library</th>
716
                                            <th class="nosort">&nbsp;</th>
717
                                        </tr>
718
                                    </thead>
719
720
                                    <tbody>
721
                                    [% FOREACH ar IN borrower.article_requests_current %]
722
                                            <td class="article-request-title">
723
                                                <a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber %]">
724
                                                    [% ar.biblio.title %]
725
                                                    [% ar.item.enumchron %]
726
                                                </a>
727
                                                [% ar.biblio.author %]
728
                                                [% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %]
729
                                            </td>
730
731
                                            <td class="article-request-created_on">
732
                                                [% ar.created_on | $KohaDates %]
733
                                            </td>
734
735
                                            <td class="article-request-title">
736
                                                [% ar.title %]
737
                                            </td>
738
739
                                            <td class="article-request-author">
740
                                                [% ar.author %]
741
                                            </td>
742
743
                                            <td class="article-request-volume">
744
                                                [% ar.volume %]
745
                                            </td>
746
747
                                            <td class="article-request-issue">
748
                                                [% ar.issue %]
749
                                            </td>
750
751
                                            <td class="article-request-date">
752
                                                [% ar.date %]
753
                                            </td>
754
755
                                            <td class="article-request-pages">
756
                                                [% ar.pages %]
757
                                            </td>
758
759
                                            <td class="article-request-chapters">
760
                                                [% ar.chapters %]
761
                                            </td>
762
763
                                            <td class="article-request-status">
764
                                                [% IF ar.status == 'PENDING' %]
765
                                                    Pending
766
                                                [% ELSIF ar.status == 'PROCESSING' %]
767
                                                    Processing
768
                                                [% ELSIF ar.status == 'COMPLETED' %]
769
                                                    Completed
770
                                                [% ELSIF ar.status == 'CANCELED' %]
771
                                                    Canceled
772
                                                [% END %]
773
                                            </td>
774
775
                                            <td class="article-request-branchcode">
776
                                                [% ar.branch.branchname %]
777
                                            </td>
778
779
                                            <td class="article-request-cancel">
780
                                                <span class="tdlabel">Cancel:</span>
781
                                                <a class="btn btn-mini btn-danger" href="opac-article-request-cancel.pl?id=[% ar.id %]" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> Cancel</a>
782
                                                <!-- TODO: replace MSG_CONFIRM_DELETE_HOLD with correct message -->
783
                                            </td>
784
                                        </tr>
785
                                    [% END %]
786
                                </tbody>
787
                            </table>
788
                        </div> <!-- / #opac-user-article-requests -->
789
                    [% END %]
790
696
                    </div> <!-- /#opac-user-views -->
791
                    </div> <!-- /#opac-user-views -->
697
                </div> <!-- /#userdetails -->
792
                </div> <!-- /#userdetails -->
698
            </div> <!-- /.span10 -->
793
            </div> <!-- /.span10 -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (+18 lines)
Lines 266-271 td { Link Here
266
            padding-left : 21px;
266
            padding-left : 21px;
267
            text-decoration : none;
267
            text-decoration : none;
268
        }
268
        }
269
        &.article_request {
270
            background-image : url("../images/sprite.png"); /* Place hold small */
271
            background-position : -2px -26px;
272
            background-repeat: no-repeat;
273
            margin-right : 1em;
274
            padding-left : 21px;
275
            text-decoration : none;
276
        }
269
        &.addtocart {
277
        &.addtocart {
270
            background-image : url("../images/sprite.png"); /* Cart small */
278
            background-image : url("../images/sprite.png"); /* Cart small */
271
            background-position : -5px -572px;
279
            background-position : -5px -572px;
Lines 1345-1350 a.print-large, Link Here
1345
a.removeitems,
1353
a.removeitems,
1346
a.removeitems.disabled,
1354
a.removeitems.disabled,
1347
a.reserve,
1355
a.reserve,
1356
a.article_request,
1348
a.send,
1357
a.send,
1349
a.tag_add,
1358
a.tag_add,
1350
a.removefromlist,
1359
a.removefromlist,
Lines 1473-1478 a.reserve { Link Here
1473
    padding-left : 35px;
1482
    padding-left : 35px;
1474
}
1483
}
1475
1484
1485
a.article_request {
1486
    background-position: 0px -24px; /* Place article request */
1487
    padding-left : 35px;
1488
}
1489
1476
a.send {
1490
a.send {
1477
    background-position : 2px -386px; /* Email */
1491
    background-position : 2px -386px; /* Email */
1478
    text-decoration : none;
1492
    text-decoration : none;
Lines 2504-2507 a.reviewlink:visited { Link Here
2504
    cursor: pointer;
2518
    cursor: pointer;
2505
}
2519
}
2506
2520
2521
.btn-danger {
2522
    color: white !important;
2523
}
2524
2507
@import "responsive.less";
2525
@import "responsive.less";
(-)a/mainpage.pl (-2 / +9 lines)
Lines 30-35 use C4::Suggestions qw/CountSuggestion/; Link Here
30
use C4::Tags qw/get_count_by_tag_status/;
30
use C4::Tags qw/get_count_by_tag_status/;
31
use Koha::Borrower::Modifications;
31
use Koha::Borrower::Modifications;
32
use Koha::Borrower::Discharge;
32
use Koha::Borrower::Discharge;
33
use Koha::ArticleRequests;
33
34
34
my $query = new CGI;
35
my $query = new CGI;
35
36
Lines 65-73 my $branch = Link Here
65
my $pendingcomments    = numberofreviews(0);
66
my $pendingcomments    = numberofreviews(0);
66
my $pendingtags        = get_count_by_tag_status(0);
67
my $pendingtags        = get_count_by_tag_status(0);
67
my $pendingsuggestions = CountSuggestion("ASKED");
68
my $pendingsuggestions = CountSuggestion("ASKED");
68
my $pending_borrower_modifications =
69
my $pending_borrower_modifications = Koha::Borrower::Modifications->GetPendingModificationsCount( $branch );
69
  Koha::Borrower::Modifications->GetPendingModificationsCount( $branch );
70
my $pending_discharge_requests = Koha::Borrower::Discharge::count({ pending => 1 });
70
my $pending_discharge_requests = Koha::Borrower::Discharge::count({ pending => 1 });
71
my $pending_article_requests = Koha::ArticleRequests->count(
72
    {
73
        status => Koha::ArticleRequest::Status::Pending,
74
        $branch ? ( branchcode => $branch ) : (),
75
    }
76
);
71
77
72
$template->param(
78
$template->param(
73
    pendingcomments                => $pendingcomments,
79
    pendingcomments                => $pendingcomments,
Lines 75-80 $template->param( Link Here
75
    pendingsuggestions             => $pendingsuggestions,
81
    pendingsuggestions             => $pendingsuggestions,
76
    pending_borrower_modifications => $pending_borrower_modifications,
82
    pending_borrower_modifications => $pending_borrower_modifications,
77
    pending_discharge_requests     => $pending_discharge_requests,
83
    pending_discharge_requests     => $pending_discharge_requests,
84
    pending_article_requests       => $pending_article_requests,
78
);
85
);
79
86
80
#
87
#
(-)a/opac/opac-article-request-cancel.pl (+47 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright 2015
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw ( -utf8 );
23
24
use C4::Output;
25
use C4::Auth;
26
use Koha::ArticleRequests;
27
28
my $query = new CGI;
29
30
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
31
    {
32
        template_name   => "opac-account.tt",
33
        query           => $query,
34
        type            => "opac",
35
        authnotrequired => 0,
36
        debug           => 1,
37
    }
38
);
39
40
my $id = $query->param('id');
41
42
if ( $id && $borrowernumber ) {
43
    my $ar = Koha::ArticleRequests->find( $id );
44
    $ar->cancel() if $ar;
45
}
46
47
print $query->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests");
(-)a/opac/opac-request-article-do.pl (+62 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright ByWater Solutions 2015
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw ( -utf8 );
23
24
use C4::Auth;
25
use C4::Output;
26
27
use Koha::ArticleRequest;
28
29
my $cgi = new CGI;
30
31
my ( $userid, $cookie, $sessionID ) = checkauth( $cgi, 0, {}, 'opac' );
32
my $borrowernumber = C4::Context->userenv->{'number'};
33
34
my $biblionumber = $cgi->param('biblionumber');
35
my $branchcode   = $cgi->param('branchcode');
36
37
my $itemnumber = $cgi->param('itemnumber') || undef;
38
my $title      = $cgi->param('title')      || undef;
39
my $author     = $cgi->param('author')     || undef;
40
my $volume     = $cgi->param('volume')     || undef;
41
my $issue      = $cgi->param('issue')      || undef;
42
my $date       = $cgi->param('date')       || undef;
43
my $pages      = $cgi->param('pages')      || undef;
44
my $chapters   = $cgi->param('chapters')   || undef;
45
46
my $ar = Koha::ArticleRequest->new(
47
    {
48
        borrowernumber => $borrowernumber,
49
        biblionumber   => $biblionumber,
50
        branchcode     => $branchcode,
51
        itemnumber     => $itemnumber,
52
        title          => $title,
53
        author         => $author,
54
        volume         => $volume,
55
        issue          => $issue,
56
        date           => $date,
57
        pages          => $pages,
58
        chapters       => $chapters,
59
    }
60
)->store();
61
62
print $cgi->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests");
(-)a/opac/opac-request-article.pl (+52 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# Copyright ByWater Solutions 2015
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI qw ( -utf8 );
23
24
use C4::Auth;
25
use C4::Output;
26
27
use Koha::Biblios;
28
use Koha::Borrowers;
29
30
my $cgi = new CGI;
31
32
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
33
    {
34
        template_name   => "opac-request-article.tt",
35
        query           => $cgi,
36
        type            => "opac",
37
        authnotrequired => 0,
38
        debug           => 1,
39
    }
40
);
41
42
my $biblionumber = $cgi->param('biblionumber');
43
44
my $biblio = Koha::Biblios->find($biblionumber);
45
my $patron = Koha::Borrowers->find($borrowernumber);
46
47
$template->param(
48
    biblio => $biblio,
49
    patron => $patron,
50
);
51
52
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/opac/opac-user.pl (-1 / +2 lines)
Lines 38-43 use Koha::DateUtils; Link Here
38
use Koha::Borrower::Debarments qw(IsDebarred);
38
use Koha::Borrower::Debarments qw(IsDebarred);
39
use Koha::Holds;
39
use Koha::Holds;
40
use Koha::Database;
40
use Koha::Database;
41
use Koha::Borrowers;
41
42
42
use constant ATTRIBUTE_SHOW_BARCODE => 'SHOW_BCODE';
43
use constant ATTRIBUTE_SHOW_BARCODE => 'SHOW_BCODE';
43
44
Lines 333-339 if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor' Link Here
333
}
334
}
334
335
335
$template->param(
336
$template->param(
336
    borrower                 => $borr,
337
    borrower                 => Koha::Borrowers->find($borrowernumber),
337
    bor_messages_loop        => GetMessages( $borrowernumber, 'B', 'NONE' ),
338
    bor_messages_loop        => GetMessages( $borrowernumber, 'B', 'NONE' ),
338
    patronupdate             => $patronupdate,
339
    patronupdate             => $patronupdate,
339
    OpacRenewalAllowed       => C4::Context->preference("OpacRenewalAllowed"),
340
    OpacRenewalAllowed       => C4::Context->preference("OpacRenewalAllowed"),
(-)a/svc/article_request (-1 / +63 lines)
Line 0 Link Here
0
- 
1
#!/usr/bin/perl
2
3
# Copyright 2015 ByWater Solutions
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it under the
8
# terms of the GNU General Public License as published by the Free Software
9
# Foundation; either version 2 of the License, or (at your option) any later
10
# version.
11
#
12
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License along
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
#
20
21
use Modern::Perl;
22
23
use CGI;
24
use JSON qw(to_json);
25
26
use C4::Auth qw(check_cookie_auth);
27
use Koha::ArticleRequests;
28
29
my $cgi = new CGI;
30
31
my ( $auth_status, $sessionID ) =
32
  check_cookie_auth( $cgi->cookie('CGISESSID'), { circulate => 'circulate_remaining_permissions' } );
33
if ( $auth_status ne "ok" ) {
34
    exit 0;
35
}
36
37
binmode STDOUT, ':encoding(UTF-8)';
38
print $cgi->header( -type => 'text/plain', -charset => 'UTF-8' );
39
40
my $id = $cgi->param('id');
41
my $action = $cgi->param('action') || q{};
42
my $notes = $cgi->param('notes');
43
44
my $ar = Koha::ArticleRequests->find($id);
45
46
if ($ar) {
47
    if ( $action eq 'cancel' ) {
48
        $ar = $ar->cancel( $notes );
49
    }
50
    elsif ( $action eq 'process' ) {
51
        $ar = $ar->process();
52
    }
53
    elsif ( $action eq 'complete' ) {
54
        $ar = $ar->complete();
55
    }
56
    elsif ( $action eq 'update_branchcode' ) {
57
        my $branchcode = $cgi->param('branchcode');
58
        $ar->branchcode( $branchcode ) if $branchcode;
59
        $ar = $ar->store();
60
    }
61
}
62
63
print to_json( { success => $ar ? 1 : 0 } );

Return to bug 14610