Bug 15319: Move marcPreview modal div to avoid duplication
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Good catch Jonathan, thank you. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
4a0deff529
commit
67aeb17bfb
|
|
@ -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 %]" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue