Bugzilla – Attachment 174624 Details for
Bug 37301
Further improve how we build Vue components
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37301: Restore possibility of a custom toolbar button
Bug-37301-Restore-possibility-of-a-custom-toolbar-.patch (text/plain), 1.31 KB, created by
Pedro Amorim
on 2024-11-15 16:45:20 UTC
(
hide
)
Description:
Bug 37301: Restore possibility of a custom toolbar button
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-11-15 16:45:20 UTC
Size:
1.31 KB
patch
obsolete
>From ba9a2ad5461940fa7a8febc94cb6f5346644840f Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 17 Oct 2024 12:03:24 +0000 >Subject: [PATCH] Bug 37301: Restore possibility of a custom toolbar button > >EHoldingsLocalTitles needs this for 'Import from list' and 'Import from KBART file' >--- > .../intranet-tmpl/prog/js/vue/components/ToolbarButton.vue | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue >index c6b28d2712..6e19b31b86 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue >@@ -17,6 +17,9 @@ > :class="class" > ><font-awesome-icon icon="pencil" /> {{ $__("Edit") }}</a > > >+ <router-link v-else-if="action === undefined && to" :to="to" :class="class" >+ ><font-awesome-icon v-if="icon" :icon="icon" /> {{ title }}</router-link >+ > > <span v-else>{{ $__("Unknown action %s").format(action) }}</span> > </template> > >@@ -25,7 +28,6 @@ export default { > props: { > action: { > type: String, >- required: true, > }, > to: { > type: [String, Object], >-- >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 37301
:
168709
|
168739
|
168740
|
168741
|
168800
|
168827
|
168828
|
168829
|
168836
|
172713
|
172911
|
172912
|
172913
|
172914
|
172915
|
172916
|
172917
|
172918
|
172919
|
172920
|
172921
|
174612
|
174613
|
174614
|
174615
|
174616
|
174617
|
174618
|
174619
|
174620
|
174621
|
174622
|
174623
| 174624 |
174625
|
174626
|
174627
|
174628
|
174629
|
174630
|
174631