Bugzilla – Attachment 173961 Details for
Bug 32773
Have the ability to have more than 1 Fast Add framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home
Bug-32773-Separate-Fast-Add-frameworks-in-drop-dow.patch (text/plain), 3.36 KB, created by
Brendan Lawlor
on 2024-11-05 00:57:39 UTC
(
hide
)
Description:
Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-11-05 00:57:39 UTC
Size:
3.36 KB
patch
obsolete
>From a0c4d9252cb22428415bf9ecfdffb3abcdfa5258 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Mon, 4 Nov 2024 22:05:22 +0000 >Subject: [PATCH] Bug 32773: Separate Fast Add frameworks in drop down menu on > cataloging-home > >This patch updates the new record drop down menus on cataloging-home to separate >Fast Add frameworks under a new header at the bottom. >--- > .../prog/en/modules/cataloguing/cataloging-home.tt | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >index 0bfd275638..342a39f63d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt >@@ -40,7 +40,11 @@ > <ul class="dropdown-menu dropdown-menu-end"> > <li><a class="dropdown-item" id="newRecordDefault" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li> > [% FOREACH framework IN frameworks %] >- <li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% framework.frameworktext | html %]</a></li> >+ [% IF !framework.is_fast_add %]<li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% framework.frameworktext | html %]</a></li>[% END %] >+ [% END %] >+ [% FOREACH framework IN frameworks %] >+ [% IF loop.first %]<li><h6 class="dropdown-header">Fast Add frameworks</h6></li>[% END %] >+ [% IF framework.is_fast_add %]<li><a class="dropdown-item" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% framework.frameworktext | html %]</a></li>[% END %] > [% END %] > </ul> > </div> >@@ -51,7 +55,11 @@ > <ul class="dropdown-menu dropdown-menu-end"> > <li id="Default" class="z3950searchFw"><a class="dropdown-item" href="#">Default framework</a></li> > [% FOREACH framework IN frameworks %] >- <li id="[% framework.frameworkcode | html %]" class="z3950searchFw"><a class="dropdown-item" href="#">[% framework.frameworktext | html %]</a></li> >+ [% IF !framework.is_fast_add %]<li id="[% framework.frameworkcode | html %]" class="z3950searchFw"><a class="dropdown-item" href="#">[% framework.frameworktext | html %]</a></li>[% END %] >+ [% END %] >+ [% FOREACH framework IN frameworks %] >+ [% IF loop.first %]<li><h6 class="dropdown-header">Fast Add frameworks</h6></li>[% END %] >+ [% IF framework.is_fast_add %]<li id="[% framework.frameworkcode | html %]" class="z3950searchFw"><a class="dropdown-item" href="#">[% framework.frameworktext | html %]</a></li>[% END %] > [% END %] > </ul> > </div> >-- >2.39.5
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 32773
:
173401
|
173417
|
173878
|
173879
|
173880
|
173881
|
173882
|
173883
|
173954
|
173955
|
173956
|
173957
|
173958
|
173959
|
173960
|
173961
|
174028
|
174029
|
174030
|
174031
|
174032
|
174033
|
174034
|
174035