From f7dd42abd1bd12f9057ff55f726e6b0653ea2551 Mon Sep 17 00:00:00 2001 From: phette23 Date: Thu, 20 Apr 2017 17:15:57 -0700 Subject: [PATCH] Bug 18466: article requests box outline in opac To test: 1) apply patch 2) ensure ArticleRequests is set to Enable 3) sign in as a user with no article requests on the OPAC side 4) click the 'article requests' tab & see the box & message Sponsored-By: California College of the Arts --- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 166 +++++++++++---------- 1 file changed, 86 insertions(+), 80 deletions(-) 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 a715178500..e724b187b1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -727,100 +727,106 @@ Using this account is not recommended because some parts of Koha will not functi [% END # / #RESERVES.count %] - [% IF Koha.Preference('ArticleRequests') && borrower.article_requests_current.count %] + [% IF Koha.Preference('ArticleRequests') %]
- - - - - - - - - - - - - - - - - - - + [% IF borrower.article_requests_current.count %] +
Article requests ([% borrower.article_requests_current.count %] total)
Record titlePlaced onTitleAuthorVolumeIssueDatePagesChaptersNotesStatusPickup library 
+ + + + + + + + + + + + + + + + + + - - [% FOREACH ar IN borrower.article_requests_current %] - + + [% FOREACH ar IN borrower.article_requests_current %] + - + - + - + - + - + - + - + - + - + - + - + - - - [% END %] - -
Article requests ([% borrower.article_requests_current.count %] total)
Record titlePlaced onTitleAuthorVolumeIssueDatePagesChaptersNotesStatusPickup library 
- - [% ar.biblio.title %] - [% ar.item.enumchron %] - - [% ar.biblio.author %] - [% IF ar.itemnumber %] (only [% ar.item.barcode %])[% END %] -
+ + [% ar.biblio.title %] + [% ar.item.enumchron %] + + [% ar.biblio.author %] + [% IF ar.itemnumber %] (only [% ar.item.barcode %])[% END %] + - [% ar.created_on | $KohaDates %] - + [% ar.created_on | $KohaDates %] + - [% ar.title %] - + [% ar.title %] + - [% ar.author %] - + [% ar.author %] + - [% ar.volume %] - + [% ar.volume %] + - [% ar.issue %] - + [% ar.issue %] + - [% ar.date %] - + [% ar.date %] + - [% ar.pages %] - + [% ar.pages %] + - [% ar.chapters %] - + [% ar.chapters %] + - [% ar.patron_notes %] - + [% ar.patron_notes %] + - [% IF ar.status == 'PENDING' %] - Pending - [% ELSIF ar.status == 'PROCESSING' %] - Processing - [% ELSIF ar.status == 'COMPLETED' %] - Completed - [% ELSIF ar.status == 'CANCELED' %] - Canceled - [% END %] - + [% IF ar.status == 'PENDING' %] + Pending + [% ELSIF ar.status == 'PROCESSING' %] + Processing + [% ELSIF ar.status == 'COMPLETED' %] + Completed + [% ELSIF ar.status == 'CANCELED' %] + Canceled + [% END %] + - [% ar.branch.branchname %] - + [% ar.branch.branchname %] + - Cancel: - Cancel - -
+ + Cancel: + Cancel + + + + [% END %] + + + [% ELSE %] + + +
You have no article requests currently.
+ [% END # IF article_requests_current.count %]
[% END %] -- 2.12.2