Bugzilla – Attachment 99974 Details for
Bug 23975
Add ability to search and install plugins from GitHub
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23975: (QA follow-up) Search button style and functionality
Bug-23975-QA-follow-up-Search-button-style-and-fun.patch (text/plain), 2.31 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-03-03 03:10:26 UTC
(
hide
)
Description:
Bug 23975: (QA follow-up) Search button style and functionality
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-03-03 03:10:26 UTC
Size:
2.31 KB
patch
obsolete
>From 690bed83cc8a7511ecb1f2426e311d9038cb9f10 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 3 Mar 2020 00:04:36 -0300 >Subject: [PATCH] Bug 23975: (QA follow-up) Search button style and > functionality > >This patch makes the search form button match the other buttons style, >and also adds the submit() action on click. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../prog/en/modules/plugins/plugins-home.tt | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt >index a8ecfed56d..243d4da885 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt >@@ -41,11 +41,13 @@ > </div> > > <div class="btn-group"> >- <form class="form-inline"> >+ <form class="form-inline" id="plugin-search-form"> > <div class="form-group"> > <div class="input-group"> > <input type="text" class="form-control" name="plugin-search" id="plugin-repo-search" placeholder="Search for plugins" value="[% search_term | html %]"/> >- <div class="input-group-addon"><i class="fa fa-search"></i></div> >+ <div class="input-group-btn"> >+ <button class="btn btn-default" type="button" id="plugin-search-button"><i class="fa fa-search"></i></button> >+ </div> > </div> > </div> > </form> >@@ -201,6 +203,10 @@ > var plugin_name = $(this).data("plugin-name"); > return confirmDelete( _("Are you sure you want to uninstall the plugin %s?").format( plugin_name ) ); > }); >+ >+ $("#plugin-search-button").on("click", function(){ >+ $("#plugin-search-form").submit(); >+ }); > }); > </script> > [% END %] >-- >2.25.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 23975
:
95067
|
98757
|
98758
|
98791
|
98792
|
98793
|
98800
|
98801
|
98802
|
98813
|
98814
|
98815
|
99958
|
99970
|
99971
|
99972
|
99973
| 99974 |
99975