Bugzilla – Attachment 45484 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]
Bug 15319: Move marcPreview modal div to avoid duplication
Bug-15319-Move-marcPreview-modal-div-to-avoid-dupl.patch (text/plain), 3.79 KB, created by
Jonathan Druart
on 2015-12-08 10:17:05 UTC
(
hide
)
Description:
Bug 15319: Move marcPreview modal div to avoid duplication
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-08 10:17:05 UTC
Size:
3.79 KB
patch
obsolete
>From 7e75e0e74099a357ab4e4e5139c286e93ffbc87d 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] Bug 15319: Move marcPreview modal div to avoid duplication > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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.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 15319
:
45458
|
45462
|
45483
|
45484
|
45491