Bugzilla – Attachment 45491 Details for
Bug 15319
Use Bootstrap modal for MARC preview when performing batch record modifications
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15319: Move marcPreview modal div to avoid duplication
SIGNED-OFF-Bug-15319-Move-marcPreview-modal-div-to.patch (text/plain), 3.92 KB, created by
Owen Leonard
on 2015-12-08 13:01:25 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15319: Move marcPreview modal div to avoid duplication
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2015-12-08 13:01:25 UTC
Size:
3.92 KB
patch
obsolete
>From f8aae59aaa2a5282e532947676c3e10b37659018 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 8 Dec 2015 10:15:44 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 15319: Move marcPreview modal div to avoid > duplication >Content-Type: text/plain; charset="utf-8" > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Good catch Jonathan, thank you. >--- > .../en/modules/tools/batch_record_modification.tt | 40 +++++++--------------- > 1 file changed, 12 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >index c669cf6..ea00c36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >@@ -178,6 +178,18 @@ $(document).ready(function() { > [% END %] > [% END %] > </select> >+ <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true"> >+ <div class="modal-header"> >+ <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >+ <h3 id="marcPreviewLabel">MARC preview</h3> >+ </div> >+ <div class="modal-body"> >+ <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> >+ </div> >+ <div class="modal-footer"> >+ <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> >+ </div> >+ </div> > [% IF recordtype == 'biblio' %] > <div id="toolbar"> > <a id="selectall" href="#">Select all</a> >@@ -204,20 +216,6 @@ $(document).ready(function() { > </tbody> > </table> > <div class="note">Reminder: this action will modify all selected biblios!</div> >- >- <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true"> >- <div class="modal-header"> >- <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="marcPreviewLabel">MARC preview</h3> >- </div> >- <div class="modal-body"> >- <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> >- </div> >- <div class="modal-footer"> >- <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> >- </div> >- </div> >- > [% ELSE %] > <div id="toolbar"> > <a id="selectall" href="#">Select all</a> >@@ -245,20 +243,6 @@ $(document).ready(function() { > </table> > <div class="note">Reminder: this action will modify all selected authorities!</div> > [% END %] >- >- <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true"> >- <div class="modal-header"> >- <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> >- <h3 id="marcPreviewLabel">MARC preview</h3> >- </div> >- <div class="modal-body"> >- <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> >- </div> >- <div class="modal-footer"> >- <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> >- </div> >- </div> >- > <fieldset class="action"> > <input type="hidden" name="op" value="modify" /> > <input type="hidden" name="recordtype" value="[% recordtype %]" /> >-- >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 15319
:
45458
|
45462
|
45483
|
45484
| 45491