Bugzilla – Attachment 184445 Details for
Bug 40460
Link from branch edition toward OPAC personnalisation is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40460: Link from branch edition toward OPAC personnalisation is broken
Bug-40460-Link-from-branch-edition-toward-OPAC-per.patch (text/plain), 2.18 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-07-21 14:40:14 UTC
(
hide
)
Description:
Bug 40460: Link from branch edition toward OPAC personnalisation is broken
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-07-21 14:40:14 UTC
Size:
2.18 KB
patch
obsolete
>From b601bfe32bf15ab069c2449305adc53ae193e81f Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Mon, 21 Jul 2025 14:30:57 +0000 >Subject: [PATCH] Bug 40460: Link from branch edition toward OPAC > personnalisation is broken > >Test plan: >1 - Edit CPL branch. >2 - Click on add html content >3 - Create a page on default language, Display Location: OpacLibraryInfo, Library, CPL, publicationdate: 1/07/2025 >4 - Click on add html content again -> you go to the correct page. Edit the EN page. >5 - Click on add html content again -> you are on "New html customisation", not on the page you want to edit >6 - Apply patch >7 - Click on add html content again -> you are on the correct page >Note: You are not on the english part but there does not exist such a link. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 4098f59c3d..5d14f0a2e8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -351,7 +351,9 @@ > [% IF OpacLibraryInfo %] > <!-- opac_info --> > <div>[% OpacLibraryInfo.content | $raw %]</div> >- <a class="btn btn-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations&op=add_form&id=[% OpacLibraryInfo.id | $raw %]&editmode=wysiwyg" target="_blank">Edit HTML content</a> >+ <a class="btn btn-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations&op=add_form&id=[% OpacLibraryInfo.additional_content_id | $raw %]&editmode=wysiwyg" target="_blank" >+ >Edit HTML content</a >+ > > [% ELSE %] > <a class="btn btn-link" href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations&op=add_form&editmode=wysiwyg" target="_blank">Add HTML content</a> > [% END %] >-- >2.43.0
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 40460
: 184445