Bugzilla – Attachment 149193 Details for
Bug 33417
Create one standard Toolbar component
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33417: Create standard toolbar component
Bug-33417-Create-standard-toolbar-component.patch (text/plain), 1.58 KB, created by
Matt Blenkinsop
on 2023-04-05 12:12:15 UTC
(
hide
)
Description:
Bug 33417: Create standard toolbar component
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-04-05 12:12:15 UTC
Size:
1.58 KB
patch
obsolete
>From 52ca22169d9d645367c7740b84c4ed12a8636ffe Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 5 Apr 2023 12:02:22 +0000 >Subject: [PATCH] Bug 33417: Create standard toolbar component > >This commit introduces a standard Toolbar component that can be used >throughout ERM > >Test plan: >1) Apply patch >2) Navigate to Agreements and click the "Add agreement" button - this > should work as normal >3) Navigate to Licenses and repeat >4) Navigate to Local packages and repeat >5) Navigate to local titles - there should be two buttons, one to add and > one to import. These should work as normal >--- > .../prog/js/vue/components/Toolbar.vue | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue >new file mode 100644 >index 0000000000..7a68ab6809 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue >@@ -0,0 +1,21 @@ >+<template> >+ <div id="toolbar" class="btn-toolbar"> >+ <router-link >+ v-for="(option, index) in options" >+ :key="index" >+ :to="{ name: option.to }" >+ class="btn btn-default" >+ ><font-awesome-icon icon="plus" /> >+ {{ $__(`${option.button_title}`) }}</router-link >+ > >+ </div> >+</template> >+ >+<script> >+export default { >+ props: { >+ options: Array, >+ }, >+ name: "Toolbar", >+} >+</script> >-- >2.37.1 (Apple Git-137.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 33417
:
149193
|
149194
|
149195
|
149212
|
149215
|
149217
|
149229
|
149936
|
149937
|
149938
|
149939
|
149964
|
149965
|
149966
|
149967
|
152244
|
152245
|
152246
|
152247