From 736afd6d0119304df3ec61e01e275aea1645e7ac 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../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.39.5