Bugzilla – Attachment 121770 Details for
Bug 28542
Move new authority from Z39.50/SRU to a button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28542: Move new authority from Z39.50/SRU to a button
Bug-28542-Move-new-authority-from-Z3950SRU-to-a-bu.patch (text/plain), 2.71 KB, created by
Fridolin Somers
on 2021-06-10 13:13:20 UTC
(
hide
)
Description:
Bug 28542: Move new authority from Z39.50/SRU to a button
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2021-06-10 13:13:20 UTC
Size:
2.71 KB
patch
obsolete
>From 0eacfe736f5257396524606968afe62e9aed8f15 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 10 Jun 2021 15:05:51 +0200 >Subject: [PATCH] Bug 28542: Move new authority from Z39.50/SRU to a button > >Actually in authority tools bar, 'New from Z39.50/SRU' is inside 'New autority' menu. >This is different from biblio cataloguing toolbar, and adds a click to access it. > >I propose to move this to its own button. > >Test plan : >1) Create a Z39.50/SRU server connexion for authorities >2) Go to authorities home page >3) Check you see buttons 'New autority' and 'New from Z39.50/SRU' >4) Click on 'New autority' >5) Check you only see autority types >6) Click on 'New from Z39.50/SRU' >7) Check you go to Z39.50/SRU popup >8) Delete Z39.50/SRU server connexion for authorities >9) Go to authorities home page >10) Check you dont see 'New from Z39.50/SRU' >--- > .../prog/en/includes/authorities-toolbar.inc | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >index 9c33453adc..5b11a98ba6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >@@ -4,20 +4,23 @@ > <div id="toolbar" class="btn-toolbar"> > [% IF ( CAN_user_editauthorities ) %] > <div class="btn-group"> >- <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#"> >+ <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"> > <i class="fa fa-plus"></i> New authority > <span class="caret"></span> >- </a> >+ </button> > <ul class="dropdown-menu"> >- [% IF servers.count > 0 %] >- <li><a id="z3950_new" href="#">New from Z39.50/SRU</a></li> >- <li role="separator" class="divider"></li> >- [% END %] > [% FOREACH authority_type IN authority_types %] > <li><a href="/cgi-bin/koha/authorities/authorities.pl?authtypecode=[% authority_type.authtypecode | uri %]">[% authority_type.authtypetext | html %]</a></li> > [% END %] > </ul> > </div> >+ [% IF servers.count > 0 %] >+ <div class="btn-group"> >+ <button id="z3950_new" class="btn btn-default"> >+ <i class="fa fa-search"></i> New from Z39.50/SRU >+ </button> >+ </div> >+ [% END %] > [% END %] > > [% IF ( authid ) %] >-- >2.30.2
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 28542
:
121770
|
121806
|
121864