Bugzilla – Attachment 173957 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: Update change framework dropdown
Bug-32773-Update-change-framework-dropdown.patch (text/plain), 3.60 KB, created by
Brendan Lawlor
on 2024-11-05 00:57:29 UTC
(
hide
)
Description:
Bug 32773: Update change framework dropdown
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-11-05 00:57:29 UTC
Size:
3.60 KB
patch
obsolete
>From 74574a09fe73f0c020dd03a594f50fd8c11729de Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Thu, 31 Oct 2024 18:35:56 +0000 >Subject: [PATCH] Bug 32773: Update change framework dropdown > >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 28 ++++++++++--------- > 1 file changed, 15 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 799a26e6c8..991a53c007 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -959,18 +959,7 @@ $(document).ready(function(){ > <a class="dropdown-item" href="#" id="marcTagsSelect"><i class="fa fa-check-square"></i> Show tags</a> > </li> > [% END %] >- <li><h6 class="dropdown-header">Change framework</h6></li> >- <li> >- <a class="dropdown-item change-framework" href="#" data-frameworkcode=""> >- [% IF ( frameworkcode ) %] >- <i class="fa fa-fw"> </i> >- [% ELSE %] >- <i class="fa fa-fw fa-check"></i> >- [% END %] >- Default >- </a> >- </li> >- [% FOREACH framework IN frameworks%] >+ [% BLOCK framework_link %] > <li> > <a class="dropdown-item change-framework" href="#" data-frameworkcode="[% framework.frameworkcode | html %]"> > [% IF framework.frameworkcode == frameworkcode %] >@@ -978,10 +967,23 @@ $(document).ready(function(){ > [% ELSE %] > <i class="fa fa-fw"> </i> > [% END %] >- [% framework.frameworktext | html %] >+ [% !framework ? 'Default' : framework.frameworktext | html %] > </a> > </li> > [% END %] >+ [% IF CAN_user_editcatalogue_edit_catalogue %] >+ <li><h6 class="dropdown-header">Change framework</h6></li> >+ [% FOREACH framework IN frameworks %] >+ [% IF loop.first %][% INCLUDE framework_link framework='' %][% END %] >+ [% IF !framework.is_fast_add %][% INCLUDE framework_link %][% END %] >+ [% END %] >+ [% END %] >+ [% IF CAN_user_editcatalogue_fast_cataloging %] >+ <li><h6 class="dropdown-header">Change Fast Add framework</h6></li> >+ [% FOREACH framework IN frameworks %] >+ [% IF framework.is_fast_add %][% INCLUDE framework_link %][% END %] >+ [% END %] >+ [% END %] > </ul> <!-- /#settings-menu --> > </div> <!-- /.btn-group --> > [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] >-- >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