Bugzilla – Attachment 54916 Details for
Bug 17174
Making z39.50 authority search actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17174: Making z39.50 Authority search actions buttons
Bug-17174-Making-z3950-Authority-search-actions-bu.patch (text/plain), 3.53 KB, created by
Jonathan Druart
on 2016-08-26 09:56:54 UTC
(
hide
)
Description:
Bug 17174: Making z39.50 Authority search actions buttons
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-26 09:56:54 UTC
Size:
3.53 KB
patch
obsolete
>From b264d67391cb7b9bc5d7f11c6e5d99801b66632c Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 23 Aug 2016 23:51:43 +0000 >Subject: [PATCH] Bug 17174: Making z39.50 Authority search actions buttons > >Have changed the wording of the MARC button to Show MARC to be >consistent with other places in Koha. > >To test: > >1) Go to Authorities -> New from Z39.50 >2) Put in any search terms and click Search >3) Confirm that both options (MARC and Import) now show as buttons "Show >MARC" and "Import" under one "Actions" column with approriate icons >4) Confirm buttons work as expected >5) Confirm buttons do not wrap on narrower browser > >Sponsored-by: Catalyst IT > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/en/modules/cataloguing/z3950_auth_search.tt | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >index 99065a7..07e69df 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt >@@ -12,7 +12,7 @@ $(document).ready(function(){ > $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { > "sDom": 't', > "aoColumnDefs": [ >- { "aTargets": [ -1,-2,-3 ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }, > ], > "aaSorting": [[ 1, "asc" ]], > "bPaginate": false >@@ -114,8 +114,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > <th>Server</th> > <th>Heading</th> > <th>Authority Type</th> >- <th>MARC</th> >- <th> </th> >+ <th>Actions</th> > </tr></thead> > <tbody>[% FOREACH breeding_loo IN breeding_loop %] > [% IF ( breeding_loo.breedingid ) %] >@@ -123,8 +122,10 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > <td>[% breeding_loo.server %] <div class="linktools"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">Preview MARC</a> <a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a><a href="#" id="close_menu" title="Close this menu"> X </a></div> </td> > <td>[% breeding_loo.heading %]</td> > <td>[% breeding_loo.heading_code %]</td> >- <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC">MARC</a></td> >- <td><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]">Import</a></td> >+ <td class="actions"> >+ <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC btn btn-mini"><i class="fa fa-eye"></i> Show MARC</a> >+ <a href="#" class="import_record btn btn-mini" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]"><i class="fa fa-download"></i> Import</a> >+ </td> > </tr> > [% END %] > [% END %]</tbody> >-- >2.8.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 17174
:
54797
|
54878
| 54916