Bugzilla – Attachment 49171 Details for
Bug 16052
Styling buttons after MARC records have been staged
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16052: Putting buttons from after MARC records have been staged into a toolbar
SIGNED-OFF-Bug-16052-Putting-buttons-from-after-MA.patch (text/plain), 2.30 KB, created by
Owen Leonard
on 2016-03-15 12:50:52 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16052: Putting buttons from after MARC records have been staged into a toolbar
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-15 12:50:52 UTC
Size:
2.30 KB
patch
obsolete
>From 12ebb9ff315801dd902f7e5f7d8341366e613d26 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 15 Mar 2016 00:34:31 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 16052: Putting buttons from after MARC > records have been staged into a toolbar >Content-Type: text/plain; charset="utf-8" > >EDIT: Incorporating Owen Leonard's changes from Comment 6 > >To test: >1) Go to Tools -> Stage MARC records for import >2) Upload any file and click Stage for import once it has uploaded >3) Confirm both links are now buttons in a toolbar and work as expected >4) Notice that 'Stage MARC records' (what was once the 'Back' button) > now takes you back to stage-marc-records.pl instead of tools-home.pl >5) Also confirm that the space between results and colon (MARC staging > results :) is gone > >Sponsored-by: Catalyst IT >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Thank you, this is a great improvement. >--- > .../intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >index 67a07f4..e2b6425 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt >@@ -84,6 +84,13 @@ function cbUpload( status, fileid ) { > <div id="yui-main"> > <div class="yui-b"> > >+[% IF ( uploadmarc ) %] >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" href="/cgi-bin/koha/tools/stage-marc-import.pl"><i class="fa fa-plus"></i> Stage MARC records</a> >+ <a class="btn btn-small" href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% import_batch_id %]"><i class="fa fa-list-ul"></i> Manage staged records</a> >+</div> >+[% END %] >+ > <h1>Stage MARC records for import</h1> > [% IF ( uploadmarc ) %] > <p>MARC staging results :</p> >@@ -113,8 +120,6 @@ function cbUpload( status, fileid ) { > [% IF ( label_batch ) %] > <li>New label batch created: # [% label_batch %] </li> > [% END %] >- <li><a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% import_batch_id %]">Manage staged records</a></li> >- <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back</a></li> > </ul> > [% ELSE %] > <ul> >-- >2.1.4
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 16052
:
48985
|
49071
|
49073
|
49150
|
49152
|
49171
|
49201