Bugzilla – Attachment 48179 Details for
Bug 14610
Add ability to place article requests in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14610 - Add and update scripts
Bug-14610---Add-and-update-scripts.patch (text/plain), 184.69 KB, created by
Kyle M Hall (khall)
on 2016-02-17 13:59:55 UTC
(
hide
)
Description:
Bug 14610 - Add and update scripts
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-02-17 13:59:55 UTC
Size:
184.69 KB
patch
obsolete
>From a756fe6c18ece80367654854628488c5ec3a9956 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 7 Oct 2015 12:26:14 -0400 >Subject: [PATCH] Bug 14610 - Add and update scripts > >Signed-off-by: Jennifer Schmidt <jschmidt@switchinc.org> >--- > Koha/Item.pm | 2 +- > admin/smart-rules.pl | 2 + > circ/article-request-slip.pl | 67 ++++ > circ/article-requests.pl | 47 +++ > circ/request-article-do.pl | 62 ++++ > circ/request-article.pl | 74 ++++ > .../intranet-tmpl/prog/en/css/staff-global.css | 6 +- > .../prog/en/includes/biblio-view-menu.inc | 84 +++-- > .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 4 + > .../en/modules/admin/preferences/circulation.pref | 43 +++ > .../prog/en/modules/admin/smart-rules.tt | 21 ++ > .../prog/en/modules/catalogue/detail.tt | 20 +- > .../prog/en/modules/catalogue/results.tt | 3 + > .../prog/en/modules/circ/article-requests.tt | 406 +++++++++++++++++++++ > .../prog/en/modules/circ/circulation-home.tt | 5 + > .../prog/en/modules/circ/request-article.tt | 371 +++++++++++++++++++ > .../intranet-tmpl/prog/en/modules/intranet-main.tt | 9 + > koha-tmpl/opac-tmpl/bootstrap/css/opac.css | 2 +- > .../bootstrap/en/includes/opac-detail-sidebar.inc | 8 + > .../bootstrap/en/modules/opac-request-article.tt | 214 +++++++++++ > .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 6 + > .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 95 +++++ > koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 18 + > mainpage.pl | 11 +- > opac/opac-article-request-cancel.pl | 47 +++ > opac/opac-request-article-do.pl | 62 ++++ > opac/opac-request-article.pl | 52 +++ > opac/opac-user.pl | 3 +- > svc/article_request | 63 ++++ > 29 files changed, 1765 insertions(+), 42 deletions(-) > create mode 100755 circ/article-request-slip.pl > create mode 100755 circ/article-requests.pl > create mode 100755 circ/request-article-do.pl > create mode 100755 circ/request-article.pl > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt > create mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt > create mode 100755 opac/opac-article-request-cancel.pl > create mode 100755 opac/opac-request-article-do.pl > create mode 100755 opac/opac-request-article.pl > create mode 100755 svc/article_request > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index 50c322e..834fa02 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -148,7 +148,7 @@ sub article_request_type { > : undef; > my $borrowertype = $borrower->categorycode; > my $itemtype = $self->effective_itemtype(); >- my $rules = GetIssuingRule( $borrowertype, $itemtype, $branchcode ); >+ my $rules = C4::Circulation::GetIssuingRule( $borrowertype, $itemtype, $branchcode ); > > return $rules->{article_requests} || q{}; > } >diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl >index 5be4c0a..23e30ee 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -147,6 +147,7 @@ elsif ($op eq 'add') { > my $hardduedatecompare = $input->param('hardduedatecompare'); > my $rentaldiscount = $input->param('rentaldiscount'); > my $opacitemholds = $input->param('opacitemholds') || 0; >+ my $article_requests = $input->param('article_requests') || 'no'; > my $overduefinescap = $input->param('overduefinescap') || undef; > my $cap_fine_to_replacement_price = $input->param('cap_fine_to_replacement_price') eq 'on'; > $debug and warn "Adding $br, $bor, $itemtype, $fine, $maxissueqty, $maxonsiteissueqty, $cap_fine_to_replacement_price"; >@@ -177,6 +178,7 @@ elsif ($op eq 'add') { > opacitemholds => $opacitemholds, > overduefinescap => $overduefinescap, > cap_fine_to_replacement_price => $cap_fine_to_replacement_price, >+ article_requests => $article_requests, > }; > > my $issuingrule = Koha::IssuingRules->find({categorycode => $bor, itemtype => $itemtype, branchcode => $br}); >diff --git a/circ/article-request-slip.pl b/circ/article-request-slip.pl >new file mode 100755 >index 0000000..6a7087d >--- /dev/null >+++ b/circ/article-request-slip.pl >@@ -0,0 +1,67 @@ >+#!/usr/bin/perl >+ >+# Copyright 2015 ByWater Solutions >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw( -utf8 ); >+ >+use C4::Context; >+use C4::Output; >+use C4::Auth; >+use Koha::ArticleRequests; >+ >+my $cgi = new CGI; >+ >+my $id = $cgi->param('id'); >+ >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "circ/printslip.tt", >+ query => $cgi, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { circulate => "circulate_remaining_permissions" }, >+ } >+); >+ >+my $ar = Koha::ArticleRequests->find($id); >+ >+$template->param( article_request => $ar ); >+ >+my $slip = C4::Letters::GetPreparedLetter( >+ module => 'circulation', >+ letter_code => 'AR_SLIP', >+ message_transport_type => 'print', >+ tables => { >+ article_requests => $ar->id, >+ borrowers => $ar->borrowernumber, >+ biblio => $ar->biblionumber, >+ biblioitems => $ar->biblionumber, >+ items => $ar->itemnumber, >+ branches => $ar->branchcode, >+ }, >+); >+ >+$template->param( >+ slip => $slip->{content}, >+ caller => 'article-request', >+ plain => !$slip->{is_html}, >+); >+ >+output_html_with_http_headers $cgi, $cookie, $template->output; >diff --git a/circ/article-requests.pl b/circ/article-requests.pl >new file mode 100755 >index 0000000..d0c2805 >--- /dev/null >+++ b/circ/article-requests.pl >@@ -0,0 +1,47 @@ >+#!/usr/bin/perl >+ >+# Copyright 2015 ByWater Solutions >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw ( -utf8 ); >+ >+use C4::Auth; >+use C4::Output; >+use Koha::ArticleRequests; >+ >+my $query = new CGI; >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "circ/article-requests.tt", >+ query => $query, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { circulate => "circulate_remaining_permissions" }, >+ } >+); >+ >+my $branchcode = defined( $query->param('branchcode') ) ? $query->param('branchcode') : C4::Context->userenv->{'branch'}; >+ >+$template->param( >+ branchcode => $branchcode, >+ article_requests_pending => scalar Koha::ArticleRequests->pending($branchcode), >+ article_requests_processing => scalar Koha::ArticleRequests->processing($branchcode), >+); >+ >+output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/circ/request-article-do.pl b/circ/request-article-do.pl >new file mode 100755 >index 0000000..66fd3c5 >--- /dev/null >+++ b/circ/request-article-do.pl >@@ -0,0 +1,62 @@ >+#!/usr/bin/perl >+ >+# Copyright ByWater Solutions 2015 >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw ( -utf8 ); >+ >+use C4::Auth; >+use C4::Output; >+ >+use Koha::ArticleRequest; >+ >+my $cgi = new CGI; >+ >+checkauth( $cgi, 0, { circulate => 'circulate_remaining_permissions' }, 'intranet' ); >+ >+my $biblionumber = $cgi->param('biblionumber'); >+my $borrowernumber = $cgi->param('borrowernumber'); >+my $branchcode = $cgi->param('branchcode'); >+ >+my $itemnumber = $cgi->param('itemnumber') || undef; >+my $title = $cgi->param('title') || undef; >+my $author = $cgi->param('author') || undef; >+my $volume = $cgi->param('volume') || undef; >+my $issue = $cgi->param('issue') || undef; >+my $date = $cgi->param('date') || undef; >+my $pages = $cgi->param('pages') || undef; >+my $chapters = $cgi->param('chapters') || undef; >+ >+my $ar = Koha::ArticleRequest->new( >+ { >+ borrowernumber => $borrowernumber, >+ biblionumber => $biblionumber, >+ branchcode => $branchcode, >+ itemnumber => $itemnumber, >+ title => $title, >+ author => $author, >+ volume => $volume, >+ issue => $issue, >+ date => $date, >+ pages => $pages, >+ chapters => $chapters, >+ } >+)->store(); >+ >+print $cgi->redirect("/cgi-bin/koha/circ/request-article.pl?biblionumber=$biblionumber"); >diff --git a/circ/request-article.pl b/circ/request-article.pl >new file mode 100755 >index 0000000..448cac8 >--- /dev/null >+++ b/circ/request-article.pl >@@ -0,0 +1,74 @@ >+#!/usr/bin/perl >+ >+# Copyright 2015 ByWater Solutions >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use C4::Output; >+use C4::Auth; >+use C4::Utils::DataTables::Members; >+use Koha::Biblios; >+use Koha::Borrowers; >+use Koha::ArticleRequests; >+ >+my $input = new CGI; >+ >+my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( >+ { >+ template_name => "circ/request-article.tt", >+ query => $input, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { circulate => 'circulate_remaining_permissions' }, >+ } >+); >+ >+my $biblionumber = $input->param('biblionumber'); >+my $patron_cardnumber = $input->param('patron_cardnumber'); >+my $patron_id = $input->param('patron_id'); >+ >+my $biblio = Koha::Biblios->find($biblionumber); >+my $patron = Koha::Borrowers->find( $patron_id ? $patron_id : { cardnumber => $patron_cardnumber } ); >+ >+if (!$patron && $patron_cardnumber) { >+ my $results = C4::Utils::DataTables::Members::search( >+ { >+ searchmember => $patron_cardnumber, >+ dt_params => { iDisplayLength => -1 }, >+ } >+ ); >+ >+ my $patrons = $results->{patrons}; >+ >+ if ( scalar @$patrons == 1 ) { >+ $patron = Koha::Borrowers->find( $patrons->[0]->{borrowernumber} ); >+ } >+ elsif (@$patrons) { >+ $template->param( patrons => $patrons ); >+ } >+ else { >+ $template->param( no_patrons_found => $patron_cardnumber ); >+ } >+} >+ >+$template->param( >+ biblio => $biblio, >+ patron => $patron, >+); >+ >+output_html_with_http_headers $input, $cookie, $template->output; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index b35e6be..d4b1cc0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -1831,8 +1831,8 @@ ul.budget_hierarchy li:first-child:after { > .child_fund_amount { > font-style: italic; > } >-.holdcount { font-size : 105%; line-height : 200%; } >-.holdcount a { >+.number_box { font-size : 105%; line-height : 200%; } >+.number_box a { > border : 1px solid #a4bedd; > background-color : #e4ecf5; > font-weight : bold; >@@ -1841,7 +1841,7 @@ ul.budget_hierarchy li:first-child:after { > padding : .1em .4em; > text-decoration : none; > } >-.holdcount a:hover { background-color : #ebeff7; } >+.number_box a:hover { background-color : #ebeff7; } > .container { > border : 1px solid #EEE; > padding : 1em; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >index 4258aa3..474b596 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc >@@ -1,38 +1,56 @@ >+[% USE Koha %] > [% USE Biblio %] > [% SET biblio_object_id = object || biblionumber %] >+ > <div id="menu"> >-<ul> >- [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %] >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]">Normal</a></li> >- >-[% IF ( can_view_MARC ) %] >-[% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %] >-<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id %]">MARC</a></li> >-[% END %] >- >-[% IF ( can_view_labeledMARC ) %] >- [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %] >- <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id %]">Labeled MARC</a></li> >-[% END %] >- >-[% IF ( can_view_ISBD ) %] >- [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %] >- <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id %]">ISBD</a></li> >-[% END %] >- >- [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %] >- <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id %]">Items</a></li> >- [% IF ( CAN_user_reserveforothers ) %] >- [% 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> >- [% END %] >- [% IF ( EasyAnalyticalRecords ) %][% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]&analyze=1">Analytics</a></li>[% END %] >- >- [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&biblionumber=[% biblio_object_id %]">Subscription(s)</a></li>[% END %] >-</ul> >-<ul> >-[% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %] >-<a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id %]" >Checkout history</a></li> >-[% 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&modules=CATALOGUING&action=MODIFY&object=[% biblio_object_id %]">Modification log</a> </li>[% END %] >-</ul> >+ <ul> >+ [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]">Normal</a></li> >+ >+ [% IF ( can_view_MARC ) %] >+ [% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id %]">MARC</a></li> >+ [% END %] >+ >+ [% IF ( can_view_labeledMARC ) %] >+ [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id %]">Labeled MARC</a></li> >+ [% END %] >+ >+ [% IF ( can_view_ISBD ) %] >+ [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id %]">ISBD</a></li> >+ [% END %] >+ >+ [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id %]">Items</a></li> >+ >+ [% IF ( CAN_user_reserveforothers ) %] >+ [% 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> >+ [% END %] >+ >+ [% IF ( EasyAnalyticalRecords ) %] >+ [% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id %]&analyze=1">Analytics</a></li> >+ [% END %] >+ >+ [% IF Koha.Preference('ArticleRequests') %] >+ [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <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> >+ [% END %] >+ >+ [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&biblionumber=[% biblio_object_id %]">Subscription(s)</a></li>[% END %] >+ </ul> >+ >+ <ul> >+ [% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %] >+ <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id %]" >Checkout history</a></li> >+ >+ [% 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&modules=CATALOGUING&action=MODIFY&object=[% biblio_object_id %]">Modification log</a> </li> >+ [% END %] >+ </ul> > </div> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >index 68aeefa..6e6d1b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc >@@ -263,6 +263,10 @@ CAN_user_serials_create_subscription ) %] > [% END %] > [% END %] > >+[% IF Koha.Preference('ArticleRequests') %] >+ <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> >+[% END %] >+ > </form> > </div> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index d9c7e25..24989a7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -722,3 +722,46 @@ Circulation: > - "Patron categories allowed to checkout in a batch" > - pref: BatchCheckoutsValidCategories > - "(list of patron categories separated with a pipe '|')" >+ Article Requests: >+ - >+ - pref: ArticleRequests >+ choices: >+ yes: Enable >+ no: "Don't enable" >+ - patrons to place article requests. >+ - >+ - For records that are record level or item level requestable, make the following fields mandatory >+ - pref: ArticleRequestsMandatoryFields >+ multiple: >+ title: Title >+ author: Author >+ volume: Volume >+ issue: Issue >+ date: Date >+ pages: Pages >+ chapters: Chapters >+ - >+ - >+ - For records that are only record level requestable, make the following fields mandatory >+ - pref: ArticleRequestsMandatoryFieldsRecordOnly >+ multiple: >+ title: Title >+ author: Author >+ volume: Volume >+ issue: Issue >+ date: Date >+ pages: Pages >+ chapters: Chapters >+ - >+ - >+ - For records that are only item level requestable, make the following fields mandatory >+ - pref: ArticleRequestsMandatoryFieldsItemOnly >+ multiple: >+ title: Title >+ author: Author >+ volume: Volume >+ issue: Issue >+ date: Date >+ pages: Pages >+ chapters: Chapters >+ - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index c7e27ad..88ae6ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -172,6 +172,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <th>Holds allowed (count)</th> > <th>On shelf holds allowed</th> > <th>Item level holds</th> >+ <th>Article requests</th> > <th>Rental discount (%)</th> > <th colspan="2"> </th> > </tr> >@@ -250,6 +251,17 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <td>[% rule.reservesallowed %]</td> > <td>[% IF rule.onshelfholds %]Yes[% ELSE %]No[% END %]</td> > <td>[% IF rule.opacitemholds == 'F'%]Force[% ELSIF rule.opacitemholds == 'Y'%]Allow[% ELSE %]Don't allow[% END %]</td> >+ <td> >+ [% IF rule.article_requests == 'no' %] >+ No >+ [% ELSIF rule.article_requests == 'yes' %] >+ Yes >+ [% ELSIF rule.article_requests == 'bib_only' %] >+ Record only >+ [% ELSIF rule.article_requests == 'item_only' %] >+ Item only >+ [% END %] >+ </td> > <td>[% rule.rentaldiscount %]</td> > <td><a href="#" class="editrule">Edit</a></td> > <td> >@@ -328,6 +340,14 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <option value="F">Force</option> > </select> > </td> >+ <td> >+ <select id="article_requests" name="article_requests"> >+ <option value="no">No</option> >+ <option value="yes">Yes</option> >+ <option value="bib_only">Record only</option> >+ <option value="item_only">Item only</option> >+ </select> >+ </td> > <td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td> > <td colspan="2"> > <input type="hidden" name="branch" value="[% current_branch %]"/> >@@ -359,6 +379,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > <th>Holds allowed (count)</th> > <th>On shelf holds allowed</th> > <th>Item level holds</th> >+ <th>Article requests</th> > <th>Rental discount (%)</th> > <th colspan="2"> </th> > </tr> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index e46428a..e873024 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -2,6 +2,7 @@ > [% USE KohaDates %] > [% USE AuthorisedValues %] > [% USE Branches %] >+[% USE Biblio %] > > [% ShowCourseReserves = 0 %] > [% IF UseCourseReserves %] >@@ -378,7 +379,24 @@ function verify_images() { > </span> > [% END %] > <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 %]&viewas=html" title="MARC" class="previewMARC">Show</a></span> >- [% 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 %] >+ >+ [% IF ( holdcount ) %] >+ <span class="results_summary"> >+ <span class="label">Holds:</span> >+ <span class="number_box"> >+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a> >+ </span> >+ </span> >+ [% END %] >+ >+ [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %] >+ <span class="results_summary"> >+ <span class="label">Article requests:</span> >+ <span class="number_box"> >+ <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a> >+ </span> >+ </span> >+ [% END %] > > [% IF ( AmazonCoverImages || LocalCoverImages ) %] > </div><div class="yui-u" id="bookcoverimg"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 65f35f1..48527db 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -567,6 +567,9 @@ var holdForPatron = function () { > <a id="reserve_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Holds</a> > [% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %] > [% END %] >+ [% IF Koha.Preference('ArticleRequests') %] >+ | <a id="requst_article_[% SEARCH_RESULT.biblionumber %]" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a> >+ [% END %] > [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] > | <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit record</a> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt >new file mode 100644 >index 0000000..8e8b994 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt >@@ -0,0 +1,406 @@ >+[% USE KohaDates %] >+[% USE ItemTypes %] >+[% USE Branches %] >+[% USE AuthorisedValues %] >+ >+[% INCLUDE 'doc-head-open.inc' %] >+<title>Koha › Circulation › Article requests</title> >+[% INCLUDE 'doc-head-close.inc' %] >+<style type="text/css"> p { margin-top: 0; }</style> >+</head> >+ >+<body id="circ_view_holdsqueue" class="circ"> >+ [% INCLUDE 'header.inc' %] >+ [% INCLUDE 'cat-search.inc' %] >+ >+ <script type="text/javascript">//<![CDATA[ >+ $(document).ready(function() { >+ $('#article-request-tabs').tabs(); >+ >+ [% IF article_requests_pending.count %] >+ $(".ar-pending-none").hide(); >+ [% END %] >+ >+ [% IF article_requests_processing.count %] >+ $(".ar-processing-none").hide(); >+ [% END %] >+ }); >+ >+ function PrintSlip(link) { >+ window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); >+ } >+ >+ function Cancel( id, a ) { >+ notes = prompt(_("Reason for cancelation:")); >+ if ( notes == null ) { >+ return; >+ } >+ >+ a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>'); >+ a.closest('div').hide(); >+ $.ajax({ >+ type: "POST", >+ url: '/cgi-bin/koha/svc/article_request', >+ data: { >+ action: 'cancel', >+ id: id, >+ notes: notes >+ }, >+ success: function( data ) { >+ a.closest('tr').remove(); >+ UpdateTabCounts() >+ }, >+ dataType: 'json' >+ }); >+ } >+ >+ function Process( id, a ) { >+ var table_row = a.closest('tr').clone(); >+ table_row.find('.ar-process-request').remove(); >+ >+ a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>'); >+ a.closest('div').hide(); >+ $.ajax({ >+ type: "POST", >+ url: '/cgi-bin/koha/svc/article_request', >+ data: { >+ action: 'process', >+ id: id, >+ }, >+ success: function( data ) { >+ a.closest('tr').remove(); >+ $("#article-requests-processing-table").append( table_row ); >+ UpdateTabCounts() >+ }, >+ dataType: 'json' >+ }); >+ } >+ >+ function Complete( id, a ) { >+ a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>'); >+ a.closest('div').hide(); >+ $.ajax({ >+ type: "POST", >+ url: '/cgi-bin/koha/svc/article_request', >+ data: { >+ action: 'complete', >+ id: id, >+ }, >+ success: function( data ) { >+ a.closest('tr').remove(); >+ UpdateTabCounts() >+ }, >+ dataType: 'json' >+ }); >+ } >+ >+ function UpdateTabCounts() { >+ var pending_count = $('#article-requests-pending-table tbody tr.ar-row').length; >+ $("#ar_pending_count").html( pending_count ); >+ if ( pending_count == 0 ) $(".ar-pending-none").show(); >+ >+ var processing_count = $('#article-requests-processing-table tbody tr.ar-row').length; >+ $("#ar_processing_count").html( processing_count ); >+ if ( processing_count == 0 ) $(".ar-processing-none").show(); >+ } >+ //]]></script> >+ >+ <div id="breadcrumbs"> >+ <a href="/cgi-bin/koha/mainpage.pl">Home</a> >+ › >+ <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> >+ › >+ <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a> >+ </div> >+ >+<div id="doc" class="yui-t7"> >+ <div id="bd"> >+ <div id="yui-main"> >+ <div class="yui-g"> >+ >+ <h1>Article requests</h1> >+ >+ <form id="ar-branchcode-form" method="post"> >+ <select name="branchcode" id="branchcode"> >+ <option value="">All libraries</option> >+ [% FOREACH b IN Branches.all %] >+ [% IF b.branchcode == branchcode %] >+ <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> >+ [% ELSE %] >+ <option value="[% b.branchcode %]">[% b.branchname %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ <button type="submit" class="btn btn-small" type="submit"> >+ <i class="fa fa-refresh"></i> Update >+ </button> >+ </form> >+ >+ <div id="article-request-tabs" class="toptabs"> >+ <ul> >+ <li> >+ <a href="#article-requests-pending"> >+ Pending (<span id="ar_pending_count">[% article_requests_pending.count %]</span>) >+ </a> >+ </li> >+ >+ <li> >+ <a href="#article-requests-processing"> >+ Processing (<span id="ar_processing_count">[% article_requests_processing.count %]</span>) >+ </a> >+ </li> >+ </ul> >+ >+ <div id="article-requests-pending"> >+ <table id="article-requests-pending-table"> >+ <thead> >+ <tr> >+ <th class="ar-title">Title</th> >+ <th class="ar-request">Requested article</th> >+ <th class="ar-collection">Collection</th> >+ <th class="ar-itemtype">Item type</th> >+ <th class="ar-callnumber">Call number</th> >+ <th class="ar-copynumber">Copy number</th> >+ <th class="ar-enumchron">Enumeration</th> >+ <th class="ar-barcode">Barcode</th> >+ <th class="ar-patron">Patron</th> >+ <th class="ar-date">Date</th> >+ <th class="ar-actions">Actions</th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ <tr class="ar-pending-none"> >+ <td colspan="11"> >+ There are no pending article requests at this time. >+ </td> >+ </tr> >+ >+ [% FOREACH ar IN article_requests_pending %] >+ <tr class="ar-row ar-pending"> >+ <td class="ar-title"> >+ <p> >+ <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]"> >+ <strong>[% ar.biblio.title | html %]</strong> >+ [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] >+ </a> >+ </p> >+ >+ <p> >+ <div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> >+ <div class="ar-author">[% ar.biblio.author %]</div> >+ <div class="ar-pubdata"> >+ [% ar.biblio.biblioitem.publishercode %] >+ >+ [% IF ar.biblio.biblioitem.publicationyear %] >+ , [% ar.biblio.biblioitem.publicationyear %] >+ [% ELSIF ar.biblio.copyrightdate %] >+ , [% ar.biblio.copyrightdate %] >+ [% END %] >+ >+ [% IF ar.biblio.biblioitem.pages %] >+ : [% ar.biblio.biblioitem.pages %] >+ [% END %] >+ >+ [% r.biblio.biblioitem.size %] >+ >+ [% IF ar.biblio.biblioitem.isbn %] >+ ISBN: [% ar.biblio.biblioitem.isbn %] >+ [% END %] >+ </div> >+ </p> >+ </td> >+ <td class="ar-request"> >+ [% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] >+ [% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] >+ [% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] >+ [% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] >+ [% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] >+ [% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] >+ [% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] >+ </td> >+ <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> >+ <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> >+ <td class="ar-callnumber"> >+ [% IF ar.item.location %] >+ <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> >+ [% END %] >+ >+ [% ar.item.itemcallnumber %] >+ </td> >+ <td class="ar-copynumber">[% ar.item.copynumber %]</td> >+ <td class="ar-enumchron">[% ar.item.enumchron %]</td> >+ <td class="ar-barcode">[% ar.item.barcode %]</td> >+ <td class="ar-patron"> >+ <p> >+ <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> >+ [% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) >+ </a> >+ </p> >+ >+ <p>[% ar.borrower.phone %]</p> >+ </td> >+ <td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> >+ <td class="ar-actions"> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b> >+ </a> >+ >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> >+ <li> >+ <a class="ar-process-request" href="#" onclick="Process( [% ar.id %], $(this) ); return false;"> >+ <i class="icon-ok-circle"></i> >+ Process request >+ </a> >+ >+ <a class="ar-complete-request" href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> >+ <i class="icon-ok-circle"></i> >+ Complete request >+ </a> >+ >+ <a class="ar-cancel-request" href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> >+ <i class="icon-remove-circle"></i> >+ Cancel request >+ </a> >+ >+ <a class="ar-print-request" href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> >+ <i class="icon-print"></i> >+ Print slip >+ </a> >+ </li> >+ </ul> >+ </div> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> >+ >+ <div id="article-requests-processing"> >+ <table id="article-requests-processing-table"> >+ <thead> >+ <tr> >+ <th class="ar-title">Title</th> >+ <th class="ar-request">Requested article</th> >+ <th class="ar-collection">Collection</th> >+ <th class="ar-itemtype">Item type</th> >+ <th class="ar-callnumber">Call number</th> >+ <th class="ar-copynumber">Copy number</th> >+ <th class="ar-enumchron">Enumeration</th> >+ <th class="ar-barcode">Barcode</th> >+ <th class="ar-patron">Patron</th> >+ <th class="ar-date">Date</th> >+ <th class="ar-actions">Actions</th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ <tr class="ar-processing-none"> >+ <td colspan="11"> >+ There are no article requests in processing at this time. >+ </td> >+ </tr> >+ >+ [% FOREACH ar IN article_requests_processing %] >+ <tr class="ar-row ar-processing"> >+ <td class="ar-title"> >+ <p> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]"> >+ <strong>[% ar.biblio.title | html %]</strong> >+ [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] >+ </a> >+ </p> >+ >+ <p> >+ <div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> >+ <div class="ar-author">[% ar.biblio.author %]</div> >+ <div class="ar-pubdata"> >+ [% ar.biblio.biblioitem.publishercode %] >+ >+ [% IF ar.biblio.biblioitem.publicationyear %] >+ , [% ar.biblio.biblioitem.publicationyear %] >+ [% ELSIF ar.biblio.copyrightdate %] >+ , [% ar.biblio.copyrightdate %] >+ [% END %] >+ >+ [% IF ar.biblio.biblioitem.pages %] >+ : [% ar.biblio.biblioitem.pages %] >+ [% END %] >+ >+ [% r.biblio.biblioitem.size %] >+ >+ [% IF ar.biblio.biblioitem.isbn %] >+ ISBN: [% ar.biblio.biblioitem.isbn %] >+ [% END %] >+ </div> >+ </p> >+ </td> >+ <td class="ar-request"> >+ [% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] >+ [% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] >+ [% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] >+ [% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] >+ [% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] >+ [% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] >+ [% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] >+ </td> >+ <td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> >+ <td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> >+ <td class="ar-callnumber"> >+ [% IF ar.item.location %] >+ <em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> >+ [% END %] >+ >+ [% ar.item.itemcallnumber %] >+ </td> >+ <td class="ar-copynumber">[% ar.item.copynumber %]</td> >+ <td class="ar-enumchron">[% ar.item.enumchron %]</td> >+ <td class="ar-barcode">[% ar.item.barcode %]</td> >+ <td class="ar-patron"> >+ <p> >+ <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> >+ [% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) >+ </a> >+ </p> >+ >+ <p>[% ar.borrower.phone %]</p> >+ </td> >+ <td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> >+ <td class="ar-actions"> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b> >+ </a> >+ >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> >+ <li> >+ <a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> >+ <i class="icon-ok-circle"></i> >+ Complete request >+ </a> >+ >+ <a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> >+ <i class="icon-remove-circle"></i> >+ Cancel request >+ </a> >+ >+ <a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> >+ <i class="icon-print"></i> >+ Print slip >+ </a> >+ </li> >+ </ul> >+ </div> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> >+ </div> >+ </div> >+ </div> >+ </div> >+[% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt >index 713c64f..9046cb4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt >@@ -41,6 +41,11 @@ > <li> <a href="/cgi-bin/koha/circ/pendingreserves.pl" title="holds to retrieve off the shelf">Holds to pull</a></li> > <li> <a href="/cgi-bin/koha/circ/waitingreserves.pl" title="holds waiting for patron pickup">Holds awaiting pickup</a></li> > <li> <a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li> >+ [% IF Koha.Preference('ArticleRequests') %] >+ <li> >+ <a href="/cgi-bin/koha/circ/article-requests.pl" title="Article requests">Article requests</a> >+ </li> >+ [% END %] > <li> <a href="/cgi-bin/koha/circ/transferstoreceive.pl" title="transfers to receive at your library">Transfers to receive</a></li> > [% IF ( CAN_user_circulate_overdues_report ) %]<li> <a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a> > - <b>Warning:</b> This report is very resource intensive on >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt >new file mode 100644 >index 0000000..0ce2cc7 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt >@@ -0,0 +1,371 @@ >+[% USE KohaDates %] >+[% USE Branches %] >+[% SET article_requests_view = 1 %] >+[% SET biblionumber = biblio.biblionumber %] >+[% INCLUDE 'doc-head-open.inc' %] >+<title>Koha › Circulation › Request article</title> >+[% INCLUDE 'doc-head-close.inc' %] >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >+[% INCLUDE 'datatables.inc' %] >+ >+<script type="text/javascript"> >+// <![CDATA[ >+$('#current-article-requests').ready(function() { >+ $(".hide").hide(); >+}); >+ >+$(document).ready(function() { >+ $( "#patron" ).autocomplete({ >+ source: "/cgi-bin/koha/circ/ysearch.pl", >+ minLength: 3, >+ select: function( event, ui ) { >+ $( "#patron" ).val( ui.item.cardnumber ); >+ $( "#holds_patronsearch" ).submit(); >+ return false; >+ } >+ }) >+ .data( "ui-autocomplete" )._renderItem = function( ul, item ) { >+ return $( "<li></li>" ) >+ .data( "ui-autocomplete-item", item ) >+ .append( "<a>" + item.surname + ", " + item.firstname + >+ " (" + item.cardnumber + ") <small>" + item.address + >+ " " + item.city + " " + item.zipcode + " " + >+ item.country + "</small></a>" ) >+ .appendTo( ul ); >+ }; >+ >+ $( ".ar-update-branchcode" ).on('focus', function(){ >+ previous_branchcode = this.value; >+ }).on('change', function(){ >+ var branchcode = this.value; >+ var c = confirm(_("Are you sure you want to change the pickup library from %s to %s for this request?").format( previous_branchcode, branchcode )); >+ >+ if ( c ) { >+ var id = this.id.split("branchcode-")[1]; >+ $("#update-processing-" + id ).css({opacity: 0, visibility: "visible"}).animate({opacity: 1.0}, 200); >+ >+ $.ajax({ >+ type: "POST", >+ url: '/cgi-bin/koha/svc/article_request', >+ data: { >+ action: 'update_branchcode', >+ id: id, >+ branchcode: branchcode, >+ }, >+ success: function( data ) { >+ $("#update-processing-" + id ).css({opacity: 1.0, visibility: "visible"}).animate({opacity: 0}, 200); >+ }, >+ dataType: 'json' >+ }); >+ >+ } else { >+ this.value = previous_branchcode; >+ } >+ }); >+ >+ $(".ar-cancel-request").on("click", function(){ >+ var a = $(this); >+ var notes = prompt(_("Reason for cancellation:")); >+ >+ if ( notes != null ) { >+ var id = this.id.split("cancel-")[1]; >+ $("#cancel-processing-" + id ).hide('slow'); >+ $("#cancel-processing-spinner-" + id ).show('slow'); >+ >+ $.ajax({ >+ type: "POST", >+ url: '/cgi-bin/koha/svc/article_request', >+ data: { >+ action: 'cancel', >+ id: id, >+ notes: notes >+ }, >+ success: function( data ) { >+ a.parents('tr').hide('slow'); >+ }, >+ dataType: 'json' >+ }); >+ } >+ }); >+}); >+// ]]> >+</script> >+</head> >+ >+<body id="circ_article_request" class="catalog"> >+ [% INCLUDE 'header.inc' %] >+ [% INCLUDE 'circ-search.inc' %] >+ >+ <div id="breadcrumbs"> >+ <a href="/cgi-bin/koha/mainpage.pl">Home</a> >+ › >+ <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> >+ › >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% biblio.title | html %]</a> >+ › >+ Request article >+ </div> >+ >+ <div id="doc3" class="yui-t2"> >+ <div id="bd"> >+ <div id="yui-main"> >+ <div class="yui-b"> >+ >+ <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1> >+ [% IF no_patrons_found %] >+ <div class="dialog alert"> >+ <h3>Patron not found</h3> >+ <p>No patron with this name, please, try another</p> >+ </div> >+ [% ELSIF patrons %] >+ <form id="article_request_patron_results" method="post"> >+ <fieldset> >+ <table id="table_borrowers"> >+ <thead> >+ <tr> >+ <th></th> >+ <th>Name</th> >+ <th>Cardnumber</th> >+ <th>Category</th> >+ <th>Library</th> >+ <th>Address</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH patron IN patrons %] >+ <tr> >+ <td><input type="radio" name="patron_id" value="[% patron.borrowernumber %]"/></td> >+ <td>[% patron.surname %], [% patron.firstname %]</td> >+ <td>[% patron.cardnumber %]</td> >+ <td>[% patron.categorycode %]</td> >+ <td>[% patron.branchcode %]</td> >+ <td>[% patron.address %]</td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> >+ <fieldset class="action"><input type="submit" value="Select" /></fieldset> >+ </fieldset> >+ </form> >+ [% ELSIF !patron %] >+ <form id="article_requests_patronsearch" action="request-article.pl" method="post"> >+ <fieldset class="brief"> >+ <label for="patron">Patron: </label> >+ <div class="hint">Enter patron card number or partial name:</div> >+ <input type="text" size="40" id="patron" class="focus" name="patron_cardnumber" /> >+ <input type="submit" value="Search" /> >+ <input type="hidden" name="biblionumber" value="[% biblio.id %]" /> >+ </fieldset> >+ </form> >+ [% ELSE %] >+ [% IF biblio.can_article_request( patron ) %] >+ >+ <form id="place-article-request" method="post" action="/cgi-bin/koha/circ/request-article-do.pl"> >+ <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblio.biblionumber %]" /> >+ <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.id %]" /> >+ >+ <fieldset class="rows"> >+ <legend>Place article request from [% biblio.title %] for [% patron.firstname %] [% patron.surname %] ( [% patron.cardnumber %] )</legend> >+ <p/> >+ <ul> >+ <li> >+ <label for="title">Title:</label> >+ <input type="text" name="title" id="title" size="50"/> >+ </li> >+ >+ <li> >+ <label for="author">Author:</label> >+ <input type="text" name="author" id="author" size="50"/> >+ </li> >+ >+ <li> >+ <label for="volume">Volume:</label> >+ <input type="text" name="volume" id="volume" size="50"/> >+ </li> >+ >+ <li> >+ <label for="issue">Issue:</label> >+ <input type="text" name="issue" id="issue" size="50"/> >+ </li> >+ >+ <li> >+ <label for="date">Date:</label> >+ <input type="text" name="date" id="date" size="50"/> >+ </li> >+ >+ <li> >+ <label for="pages">Pages:</label> >+ <input type="text" name="pages" id="pages" size="50"/> >+ </li> >+ >+ <li> >+ <label for="chapters">Chapters:</label> >+ <input type="text" name="chapters" id="chapters" size="50"/> >+ </li> >+ >+ <li> >+ <label for="branchcode">Pickup library:</label> >+ <select name="branchcode" id="branchcode"> >+ [% FOREACH b IN Branches.all %] >+ [% IF b.branchcode == Branches.GetLoggedInBranchcode %] >+ <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> >+ [% ELSE %] >+ <option value="[% b.branchcode %]">[% b.branchname %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ </li> >+ </ul> >+ </fieldset> >+ >+ [% SET article_request_type = biblio.article_request_type( patron ) %] >+ [% IF article_request_type != 'bib_only' %] >+ <table id="current-requests-table" class="ar-table table table-bordered table-striped"> >+ <caption>Select item:</caption> >+ <thead> >+ <tr> >+ <th> </th> >+ <th>Item type</th> >+ <th>Barcode</th> >+ <th>Home library</th> >+ <th>Call number</th> >+ <th>Enumeration</th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ [% FOREACH item IN biblio.items %] >+ [% IF item.can_article_request( patron ) %] >+ <tr> >+ <td> >+ [% IF article_request_type == 'item_only' && !checked %] >+ [% SET checked = 1 %] >+ <input type="radio" name="itemnumber" value="[% item.itemnumber %]" checked="checked" /> >+ [% ELSE %] >+ <input type="radio" name="itemnumber" value="[% item.itemnumber %]" /> >+ [% END %] >+ </td> >+ <td> >+ [% item.itype %] >+ </td> >+ <td> >+ [% item.barcode %] >+ </td> >+ <td> >+ [% item.homebranch %] >+ </td> >+ <td> >+ [% item.itemcallnumber %] >+ </td> >+ <td> >+ [% item.enumchron %] >+ </td> >+ </tr> >+ [% END %] >+ [% END %] >+ >+ [% IF article_request_type != 'item_only' %] >+ <tr> >+ <td> >+ <input type="radio" name="itemnumber" value="" checked="checked"/> >+ </td> >+ <td colspan="5"> >+ Any item >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ [% END %] >+ >+ <p> >+ <input type="submit" class="btn" value="Place request" /> >+ </p> >+ </form> >+ [% ELSE %] >+ No article requests can be made for this record. >+ [% END %] >+ >+ [% END %] >+ >+ [% IF biblio.article_requests_current && !patron %] >+ <fieldset class="rows left" id="current-article-requests-fieldset"> >+ <legend>Current article requests</legend> >+ >+ <table id="current-article-requests-table"> >+ <tr> >+ <th>Placed on</th> >+ <th>Patron</th> >+ <th>Title</th> >+ <th>Author</th> >+ <th>Volume</th> >+ <th>Issue</th> >+ <th>Date</th> >+ <th>Pages</th> >+ <th>Chapters</th> >+ <th>Item</th> >+ <th>Status</th> >+ <th>Pickup library</th> >+ <th> </th> >+ </tr> >+ >+ [% FOREACH ar IN biblio.article_requests_current %] >+ <tr> >+ <td>[% ar.created_on | $KohaDates %]</td> >+ <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ar.borrowernumber %]">[% ar.borrower.firstname %] [% ar.borrower.surname %]</a></td> >+ <td>[% ar.title %]</td> >+ <td>[% ar.author %]</td> >+ <td>[% ar.volume %]</td> >+ <td>[% ar.issue %]</td> >+ <td>[% ar.date %]</td> >+ <td>[% ar.pages %]</td> >+ <td>[% ar.chapters %]</td> >+ <td> >+ [% IF ar.item %] >+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% ar.itemnumber %]&biblionumber=[% ar.biblionumber %]">[% ar.item.barcode %]</a> >+ [% END %] >+ </td> >+ <td> >+ [% IF ar.status == 'PENDING' %] >+ Pending >+ [% ELSIF ar.status == 'PROCESSING' %] >+ Processing >+ [% ELSIF ar.status == 'COMPLETED' %] >+ Completed >+ [% ELSIF ar.status == 'CANCELED' %] >+ Canceled >+ [% END %] >+ </td> >+ <td> >+ <i id="update-processing-[% ar.id %]" class="fa fa-cog fa-spin hidden"></i> >+ <select name="branchcode" id="branchcode-[% ar.id %]" class="ar-update-branchcode"> >+ [% FOREACH b IN Branches.all %] >+ [% IF b.branchcode == ar.branchcode %] >+ <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> >+ [% ELSE %] >+ <option value="[% b.branchcode %]">[% b.branchname %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ </td> >+ <td> >+ <a title="Cancel article request" href="#" id="cancel-[% ar.id %]" class="ar-cancel-request"> >+ <i id="cancel-processing-spinner-[% ar.id %]" class="fa fa-cog fa-spin hide"></i> >+ <i id="cancel-processing-[% ar.id %]" class="fa fa-times fa-lg" style="color:red"></i> >+ </a> >+ </td> >+ </tr> >+ [% END %] >+ </table> >+ </fieldset> >+ [% END %] >+ </div> >+ </div> >+ >+ <div class="yui-b"> >+ [% INCLUDE 'biblio-view-menu.inc' %] >+ </div> >+ </div> >+ </div> >+[% INCLUDE 'intranet-bottom.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >index be0e5aa..2820485 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -114,8 +114,17 @@ > || ( CAN_user_borrowers && pending_borrower_modifications ) > || ( CAN_user_acquisition && pendingsuggestions ) > || ( CAN_user_borrowers && pending_discharge_requests ) >+ || pending_article_requests > ) %] > <div id="area-pending"> >+ [% IF pending_article_requests %] >+ <div class="pending-info" id="article_requests_pending"> >+ >+ <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>: >+ <span class="pending-number-link">[% pending_article_requests %]</span> >+ </div> >+ [% END %] >+ > [% IF ( CAN_user_acquisition && pendingsuggestions ) %] > <div class="pending-info" id="suggestions_pending"> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >index 00ba144..2aebe2c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css >@@ -1 +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}} >\ No newline at end of file >+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}} >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >index d02b4c2..caafc9d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc >@@ -1,3 +1,4 @@ >+[% USE Biblio %] > <ul id="action"> > [% UNLESS ( norequests ) %] > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >@@ -8,6 +9,13 @@ > [% END %] > [% END %] > [% END %] >+ >+ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >+ [% IF Koha.Preference('ArticleRequests') %] >+ <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblionumber %]">Request article</a></li> >+ [% END %] >+ [% END %] >+ > <li><a class="print-large" href="#" onclick="window.print();">Print</a></li> > [% IF Koha.Preference( 'virtualshelves' ) == 1 %] > [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >new file mode 100644 >index 0000000..7937292 >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt >@@ -0,0 +1,214 @@ >+[% USE Koha %] >+[% USE Branches %] >+[% INCLUDE 'doc-head-open.inc' %] >+<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Request article</title> >+[% INCLUDE 'doc-head-close.inc' %] >+[% BLOCK cssinclude %][% END %] >+</head> >+ >+[% INCLUDE 'bodytag.inc' bodyid='opac-holds' %] >+[% INCLUDE 'masthead.inc' %] >+ >+<div class="main"> >+ <ul class="breadcrumb"> >+ <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >+ <li><a href="#">Request article</a></li> >+ </ul> >+ >+ <div class="container"> >+ [% IF biblio.can_article_request( patron ) %] >+ [% SET article_request_type = biblio.article_request_type( patron ) %] >+ >+ [% IF article_request_type == 'yes' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFields') %] [% END %] >+ [% IF article_request_type == 'bib_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsRecordOnly') %] [% END %] >+ [% IF article_request_type == 'item_only' %] [% SET mandatory_fields = Koha.Preference('ArticleRequestsMandatoryFieldsItemOnly') %] [% END %] >+ >+ <h3>Place article request for [% biblio.title %]</h3> >+ >+ <form id="place-article-request" method="post" action="/cgi-bin/koha/opac-request-article-do.pl"> >+ <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblio.biblionumber %]" /> >+ >+ <fieldset class="rows"> >+ <ul> >+ <li> >+ [% IF mandatory_fields.search('title') %] >+ <label for="title" class="required">Title:</label> >+ [% ELSE %] >+ <label for="title">Title:</label> >+ [% END %] >+ <input type="text" name="title" id="title" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('author') %] >+ <label for="author" class="required">Author:</label> >+ [% ELSE %] >+ <label for="author">Author:</label> >+ [% END %] >+ <input type="text" name="author" id="author" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('volume') %] >+ <label for="volume" class="required">Volume:</label> >+ [% ELSE %] >+ <label for="volume">Volume:</label> >+ [% END %] >+ <input type="text" name="volume" id="volume" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('issue') %] >+ <label for="issue" class="required">Issue:</label> >+ [% ELSE %] >+ <label for="issue">Issue:</label> >+ [% END %] >+ <input type="text" name="issue" id="issue" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('date') %] >+ <label for="date" class="required">Date:</label> >+ [% ELSE %] >+ <label for="date">Date:</label> >+ [% END %] >+ <input type="text" name="date" id="date" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('pages') %] >+ <label for="pages" class="required">Pages:</label> >+ [% ELSE %] >+ <label for="pages">Pages:</label> >+ [% END %] >+ <input type="text" name="pages" id="pages" size="50"/> >+ </li> >+ >+ <li> >+ [% IF mandatory_fields.search('chapters') %] >+ <label for="chapters" class="required">Chapters:</label> >+ [% ELSE %] >+ <label for="chapters">Chapters:</label> >+ [% END %] >+ <input type="text" name="chapters" id="chapters" size="50"/> >+ </li> >+ >+ <li> >+ <label for="branchcode">Pickup library:</label> >+ <select name="branchcode" id="branchcode"> >+ [% FOREACH b IN Branches.all %] >+ [% IF b.branchcode == Branches.GetLoggedInBranchcode %] >+ <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> >+ [% ELSE %] >+ <option value="[% b.branchcode %]">[% b.branchname %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ </li> >+ </ul> >+ </fieldset> >+ >+ [% IF article_request_type != 'bib_only' %] >+ <table class="copiesrow table table-bordered table-striped"> >+ <caption>Select a specific item:</caption> >+ <thead> >+ <tr> >+ <th> </th> >+ <th>Item type</th> >+ <th>Barcode</th> >+ <th>Home library</th> >+ <th>Call number</th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ [% FOREACH item IN biblio.items %] >+ [% IF item.can_article_request( patron ) %] >+ <tr> >+ <td> >+ [% IF article_request_type == 'item_only' && !checked %] >+ [% SET checked = 1 %] >+ <input type="radio" name="itemnumber" value="[% item.itemnumber %]" checked="checked" /> >+ [% ELSE %] >+ <input type="radio" name="itemnumber" value="[% item.itemnumber %]" /> >+ [% END %] >+ </td> >+ <td> >+ [% item.itype %] >+ </td> >+ <td> >+ [% item.barcode %] >+ </td> >+ <td> >+ [% item.homebranch %] >+ </td> >+ <td> >+ [% item.itemcallnumber %] >+ </td> >+ </tr> >+ [% END %] >+ [% END %] >+ >+ [% IF article_request_type != 'item_only' %] >+ <tr> >+ <td> >+ <input type="radio" name="itemnumber" value="" checked="checked"/> >+ </td> >+ <td colspan="4"> >+ Any item >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ [% END %] >+ >+ <input type="submit" class="btn" value="Place request" /> >+ </form> >+ [% ELSE %] >+ No article requests can be made for this record. >+ [% END %] >+ >+ </div> <!-- / .container --> >+</div> <!-- / .main --> >+ >+[% INCLUDE 'opac-bottom.inc' %] >+ >+[% BLOCK jsinclude %] >+<script type="text/javascript"> >+// <![CDATA[ >+ allow_submit = false; >+ $('#place-article-request').on('submit', function( event ){ >+ if ( ! allow_submit ) { >+ event.preventDefault(); >+ >+ [% IF article_request_type == 'item_only' %] >+ if ( ! $("input:radio[name='itemnumber']").is(":checked") ) { >+ alert( _("Please select a specific item for this article request.") ); >+ return 0; >+ } >+ [% END %] >+ >+ var mandatory_fields = "[% mandatory_fields %]"; >+ var m = new Array(); >+ if ( mandatory_fields ) m = mandatory_fields.split(","); >+ var f = new Array(); >+ >+ for (i = 0; i < m.length; i++) { >+ if ( ! $("#" + m[i]).val() ) { >+ f.push( m[i] ); >+ } >+ } >+ >+ if ( f.length ) { >+ alert( _("The following fields are required and not filled in: ") + f.join(", ") ); >+ return 0; >+ } >+ >+ allow_submit = true; >+ $('#place-article-request').submit(); >+ } >+ }); >+// ]]> >+</script> >+[% END %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 8eeb200..26f6282 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -507,6 +507,12 @@ > [% END # UNLESS SEARCH_RESULT.norequests %] > [% END # IF RequestOnOpac %] > >+ [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] >+ [% IF Koha.Preference('ArticleRequests') %] >+ <span class="actions"><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Request article</a></span> >+ [% END %] >+ [% END %] >+ > [% IF ( TagsInputEnabled ) %] > [% IF ( loggedinusername ) %] > <span class="actions"><a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a></span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 3a8b016..e1589fc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -118,6 +118,7 @@ > [% IF ( BORROWER_INFO.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INFO.amountoutstanding %])</a></li>[% END %] > [% END %] > [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %] >+ [% 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 %] > </ul> > > <div id="opac-user-checkouts"> >@@ -693,6 +694,100 @@ > [% END %] > </div> <!-- / #opac-user-holds --> > [% END # / #RESERVES.count %] >+ >+ [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current.count %] >+ <div id="opac-user-article-requests"> >+ <table id="article-requests-table" class="table table-bordered table-striped"> >+ <caption>Article requests <span class="count">([% borrower.article_requests_current.count %] total)</span></caption> >+ <!-- RESERVES TABLE ROWS --> >+ <thead> >+ <tr> >+ <th class="anti-the">Record title</th> >+ <th class="psort">Placed on</th> >+ <th class="anti-the">Title</th> >+ <th>Author</th> >+ <th>Volume</th> >+ <th>Issue</th> >+ <th>Date</th> >+ <th>Pages</th> >+ <th>Chapters</th> >+ <th>Status</th> >+ <th>Pickup library</th> >+ <th class="nosort"> </th> >+ </tr> >+ </thead> >+ >+ <tbody> >+ [% FOREACH ar IN borrower.article_requests_current %] >+ <td class="article-request-title"> >+ <a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber %]"> >+ [% ar.biblio.title %] >+ [% ar.item.enumchron %] >+ </a> >+ [% ar.biblio.author %] >+ [% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %] >+ </td> >+ >+ <td class="article-request-created_on"> >+ [% ar.created_on | $KohaDates %] >+ </td> >+ >+ <td class="article-request-title"> >+ [% ar.title %] >+ </td> >+ >+ <td class="article-request-author"> >+ [% ar.author %] >+ </td> >+ >+ <td class="article-request-volume"> >+ [% ar.volume %] >+ </td> >+ >+ <td class="article-request-issue"> >+ [% ar.issue %] >+ </td> >+ >+ <td class="article-request-date"> >+ [% ar.date %] >+ </td> >+ >+ <td class="article-request-pages"> >+ [% ar.pages %] >+ </td> >+ >+ <td class="article-request-chapters"> >+ [% ar.chapters %] >+ </td> >+ >+ <td class="article-request-status"> >+ [% IF ar.status == 'PENDING' %] >+ Pending >+ [% ELSIF ar.status == 'PROCESSING' %] >+ Processing >+ [% ELSIF ar.status == 'COMPLETED' %] >+ Completed >+ [% ELSIF ar.status == 'CANCELED' %] >+ Canceled >+ [% END %] >+ </td> >+ >+ <td class="article-request-branchcode"> >+ [% ar.branch.branchname %] >+ </td> >+ >+ <td class="article-request-cancel"> >+ <span class="tdlabel">Cancel:</span> >+ <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> >+ <!-- TODO: replace MSG_CONFIRM_DELETE_HOLD with correct message --> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> <!-- / #opac-user-article-requests --> >+ [% END %] >+ > </div> <!-- /#opac-user-views --> > </div> <!-- /#userdetails --> > </div> <!-- /.span10 --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >index 6aa7ba7..0cb5cfd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >+++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >@@ -266,6 +266,14 @@ td { > padding-left : 21px; > text-decoration : none; > } >+ &.article_request { >+ background-image : url("../images/sprite.png"); /* Place hold small */ >+ background-position : -2px -26px; >+ background-repeat: no-repeat; >+ margin-right : 1em; >+ padding-left : 21px; >+ text-decoration : none; >+ } > &.addtocart { > background-image : url("../images/sprite.png"); /* Cart small */ > background-position : -5px -572px; >@@ -1345,6 +1353,7 @@ a.print-large, > a.removeitems, > a.removeitems.disabled, > a.reserve, >+a.article_request, > a.send, > a.tag_add, > a.removefromlist, >@@ -1473,6 +1482,11 @@ a.reserve { > padding-left : 35px; > } > >+a.article_request { >+ background-position: 0px -24px; /* Place article request */ >+ padding-left : 35px; >+} >+ > a.send { > background-position : 2px -386px; /* Email */ > text-decoration : none; >@@ -2504,4 +2518,8 @@ a.reviewlink:visited { > cursor: pointer; > } > >+.btn-danger { >+ color: white !important; >+} >+ > @import "responsive.less"; >diff --git a/mainpage.pl b/mainpage.pl >index e2651d8..55d9845 100755 >--- a/mainpage.pl >+++ b/mainpage.pl >@@ -30,6 +30,7 @@ use C4::Suggestions qw/CountSuggestion/; > use C4::Tags qw/get_count_by_tag_status/; > use Koha::Borrower::Modifications; > use Koha::Borrower::Discharge; >+use Koha::ArticleRequests; > > my $query = new CGI; > >@@ -65,9 +66,14 @@ my $branch = > my $pendingcomments = numberofreviews(0); > my $pendingtags = get_count_by_tag_status(0); > my $pendingsuggestions = CountSuggestion("ASKED"); >-my $pending_borrower_modifications = >- Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); >+my $pending_borrower_modifications = Koha::Borrower::Modifications->GetPendingModificationsCount( $branch ); > my $pending_discharge_requests = Koha::Borrower::Discharge::count({ pending => 1 }); >+my $pending_article_requests = Koha::ArticleRequests->count( >+ { >+ status => Koha::ArticleRequest::Status::Pending, >+ $branch ? ( branchcode => $branch ) : (), >+ } >+); > > $template->param( > pendingcomments => $pendingcomments, >@@ -75,6 +81,7 @@ $template->param( > pendingsuggestions => $pendingsuggestions, > pending_borrower_modifications => $pending_borrower_modifications, > pending_discharge_requests => $pending_discharge_requests, >+ pending_article_requests => $pending_article_requests, > ); > > # >diff --git a/opac/opac-article-request-cancel.pl b/opac/opac-article-request-cancel.pl >new file mode 100755 >index 0000000..baaa0ae >--- /dev/null >+++ b/opac/opac-article-request-cancel.pl >@@ -0,0 +1,47 @@ >+#!/usr/bin/perl >+ >+# Copyright 2015 >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw ( -utf8 ); >+ >+use C4::Output; >+use C4::Auth; >+use Koha::ArticleRequests; >+ >+my $query = new CGI; >+ >+my ( $template, $borrowernumber, $cookie ) = get_template_and_user( >+ { >+ template_name => "opac-account.tt", >+ query => $query, >+ type => "opac", >+ authnotrequired => 0, >+ debug => 1, >+ } >+); >+ >+my $id = $query->param('id'); >+ >+if ( $id && $borrowernumber ) { >+ my $ar = Koha::ArticleRequests->find( $id ); >+ $ar->cancel() if $ar; >+} >+ >+print $query->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests"); >diff --git a/opac/opac-request-article-do.pl b/opac/opac-request-article-do.pl >new file mode 100755 >index 0000000..921b8fd >--- /dev/null >+++ b/opac/opac-request-article-do.pl >@@ -0,0 +1,62 @@ >+#!/usr/bin/perl >+ >+# Copyright ByWater Solutions 2015 >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw ( -utf8 ); >+ >+use C4::Auth; >+use C4::Output; >+ >+use Koha::ArticleRequest; >+ >+my $cgi = new CGI; >+ >+my ( $userid, $cookie, $sessionID ) = checkauth( $cgi, 0, {}, 'opac' ); >+my $borrowernumber = C4::Context->userenv->{'number'}; >+ >+my $biblionumber = $cgi->param('biblionumber'); >+my $branchcode = $cgi->param('branchcode'); >+ >+my $itemnumber = $cgi->param('itemnumber') || undef; >+my $title = $cgi->param('title') || undef; >+my $author = $cgi->param('author') || undef; >+my $volume = $cgi->param('volume') || undef; >+my $issue = $cgi->param('issue') || undef; >+my $date = $cgi->param('date') || undef; >+my $pages = $cgi->param('pages') || undef; >+my $chapters = $cgi->param('chapters') || undef; >+ >+my $ar = Koha::ArticleRequest->new( >+ { >+ borrowernumber => $borrowernumber, >+ biblionumber => $biblionumber, >+ branchcode => $branchcode, >+ itemnumber => $itemnumber, >+ title => $title, >+ author => $author, >+ volume => $volume, >+ issue => $issue, >+ date => $date, >+ pages => $pages, >+ chapters => $chapters, >+ } >+)->store(); >+ >+print $cgi->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests"); >diff --git a/opac/opac-request-article.pl b/opac/opac-request-article.pl >new file mode 100755 >index 0000000..a5b1b83 >--- /dev/null >+++ b/opac/opac-request-article.pl >@@ -0,0 +1,52 @@ >+#!/usr/bin/perl >+ >+# Copyright ByWater Solutions 2015 >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; >+ >+use CGI qw ( -utf8 ); >+ >+use C4::Auth; >+use C4::Output; >+ >+use Koha::Biblios; >+use Koha::Borrowers; >+ >+my $cgi = new CGI; >+ >+my ( $template, $borrowernumber, $cookie ) = get_template_and_user( >+ { >+ template_name => "opac-request-article.tt", >+ query => $cgi, >+ type => "opac", >+ authnotrequired => 0, >+ debug => 1, >+ } >+); >+ >+my $biblionumber = $cgi->param('biblionumber'); >+ >+my $biblio = Koha::Biblios->find($biblionumber); >+my $patron = Koha::Borrowers->find($borrowernumber); >+ >+$template->param( >+ biblio => $biblio, >+ patron => $patron, >+); >+ >+output_html_with_http_headers $cgi, $cookie, $template->output; >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 9d1f9b2..093f195 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -38,6 +38,7 @@ use Koha::DateUtils; > use Koha::Borrower::Debarments qw(IsDebarred); > use Koha::Holds; > use Koha::Database; >+use Koha::Borrowers; > > use constant ATTRIBUTE_SHOW_BARCODE => 'SHOW_BCODE'; > >@@ -333,7 +334,7 @@ if ( C4::Context->preference('AllowPatronToSetCheckoutsVisibilityForGuarantor' > } > > $template->param( >- borrower => $borr, >+ borrower => Koha::Borrowers->find($borrowernumber), > bor_messages_loop => GetMessages( $borrowernumber, 'B', 'NONE' ), > patronupdate => $patronupdate, > OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"), >diff --git a/svc/article_request b/svc/article_request >new file mode 100755 >index 0000000..8db68ff >--- /dev/null >+++ b/svc/article_request >@@ -0,0 +1,63 @@ >+#!/usr/bin/perl >+ >+# Copyright 2015 ByWater Solutions >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 2 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+# >+ >+use Modern::Perl; >+ >+use CGI; >+use JSON qw(to_json); >+ >+use C4::Auth qw(check_cookie_auth); >+use Koha::ArticleRequests; >+ >+my $cgi = new CGI; >+ >+my ( $auth_status, $sessionID ) = >+ check_cookie_auth( $cgi->cookie('CGISESSID'), { circulate => 'circulate_remaining_permissions' } ); >+if ( $auth_status ne "ok" ) { >+ exit 0; >+} >+ >+binmode STDOUT, ':encoding(UTF-8)'; >+print $cgi->header( -type => 'text/plain', -charset => 'UTF-8' ); >+ >+my $id = $cgi->param('id'); >+my $action = $cgi->param('action') || q{}; >+my $notes = $cgi->param('notes'); >+ >+my $ar = Koha::ArticleRequests->find($id); >+ >+if ($ar) { >+ if ( $action eq 'cancel' ) { >+ $ar = $ar->cancel( $notes ); >+ } >+ elsif ( $action eq 'process' ) { >+ $ar = $ar->process(); >+ } >+ elsif ( $action eq 'complete' ) { >+ $ar = $ar->complete(); >+ } >+ elsif ( $action eq 'update_branchcode' ) { >+ my $branchcode = $cgi->param('branchcode'); >+ $ar->branchcode( $branchcode ) if $branchcode; >+ $ar = $ar->store(); >+ } >+} >+ >+print to_json( { success => $ar ? 1 : 0 } ); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14610
:
42822
|
42823
|
42824
|
42825
|
42826
|
42827
|
42828
|
42829
|
43198
|
43199
|
43200
|
43201
|
43202
|
43264
|
43265
|
43266
|
43267
|
43268
|
43270
|
43271
|
43272
|
43273
|
43274
|
43278
|
43279
|
43280
|
43281
|
43282
|
43654
|
43655
|
43656
|
43657
|
43658
|
44219
|
44220
|
44221
|
44222
|
44223
|
44224
|
44225
|
44226
|
44227
|
44228
|
44229
|
44230
|
44231
|
44232
|
44233
|
44234
|
44235
|
44236
|
44237
|
44238
|
44239
|
44240
|
44241
|
44242
|
44916
|
44917
|
44918
|
44919
|
44920
|
44921
|
44922
|
44923
|
44924
|
44925
|
44926
|
45946
|
45947
|
45948
|
45949
|
45950
|
45951
|
45952
|
45953
|
45954
|
45955
|
45956
|
46518
|
46519
|
46520
|
46521
|
46522
|
46523
|
46524
|
46525
|
46526
|
46527
|
46528
|
46529
|
46530
|
46595
|
46596
|
46597
|
46598
|
46599
|
46600
|
46601
|
46602
|
46603
|
46604
|
46605
|
46606
|
46607
|
46608
|
46609
|
46610
|
46611
|
46612
|
47905
|
47906
|
47907
|
47908
|
47909
|
47910
|
47911
|
47912
|
47913
|
47914
|
47915
|
47916
|
47917
|
47918
|
47919
|
47920
|
47921
|
47922
|
48177
|
48178
|
48179
|
48180
|
48181
|
48182
|
48212
|
48213
|
48214
|
48215
|
48216
|
48217
|
48218
|
50348
|
50349
|
50350
|
50351
|
50352
|
50353
|
50354
|
51527
|
51528
|
51529
|
51530
|
51531
|
51532
|
51533
|
51534
|
51778
|
51779
|
51780
|
51781
|
51782
|
51783
|
52688
|
52689
|
52690
|
52691
|
52692
|
52693
|
55556
|
55557
|
55558
|
55559
|
55560
|
55561
|
55568
|
55569
|
56084
|
56085
|
56086
|
56087
|
56088
|
56089
|
56090
|
56318
|
56319
|
56320
|
56321
|
56322
|
56323
|
56324
|
56325
|
56326
|
56327
|
56328
|
56775
|
56776
|
56777
|
56778
|
56779
|
56780
|
56781
|
56782
|
56783
|
56784
|
56785
|
56816
|
56854
|
56855
|
56856
|
56857
|
56858
|
56859
|
56860
|
56861
|
56862
|
56863
|
56864
|
56865