Bugzilla – Attachment 85882 Details for
Bug 22303
Wrong bottom in virtualshelves/addbybiblionumber.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22303: Correct bottom in virtualshelves/addbybiblionumber.tt
Bug-22303-Correct-bottom-in-virtualshelvesaddbybib.patch (text/plain), 1.90 KB, created by
Fridolin Somers
on 2019-02-28 16:24:53 UTC
(
hide
)
Description:
Bug 22303: Correct bottom in virtualshelves/addbybiblionumber.tt
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2019-02-28 16:24:53 UTC
Size:
1.90 KB
patch
obsolete
>From 2d47907bfeac5aa66308743c05e760a4fc9edfce Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 11 Feb 2019 09:54:43 +0100 >Subject: [PATCH] Bug 22303: Correct bottom in > virtualshelves/addbybiblionumber.tt > >In virtualshelves/addbybiblionumber.tt the include intranet-bottom.inc which closes the HTML last tag is not the last line of the template. > >This patch moved bottom include to last line and uses popup-bottom.inc. > >Test plan : >1) Permission OK : >1.1) Login in staff interface with user 'Bob' >1.2) Create a new list 'Readme' : category public and allow changes to contents from anyone >1.3) Perform a search >1.4) Check some results >1.5) Click 'Add to list' and on the list 'Readme' >1.6) A popup window opens >1.7) Check its HTML is OK, ending with </html> >2) Permission KO : >2.1) Open a new window (Firefox private session) and login in staff interface with user 'Bill' >2.2) Perform a search >2.3) Check some results >2.4) On session of 'Bob', edit list 'Readme' >2.5) Change : category private and allow changes to contents from owner only >2.6) On session of 'Bill' >2.7) Click 'Add to list' and on the list 'Readme' >2.8) A popup window opens saying 'Sorry, you do not have permission to add items to this list' >2.9) Check its HTML is OK, ending with </html> >--- > .../prog/en/modules/virtualshelves/addbybiblionumber.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >index 898a8b3d0d..e43c50ed1f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >@@ -113,6 +113,7 @@ > </form> > <!-- /SAVE --> > >+[% END %] >+ > [% SET popup_window = 1 %] > [% INCLUDE 'intranet-bottom.inc' %] >-[% END %] >-- >2.17.1
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 22303
:
84981
|
85882
|
85924
|
86107