Bug 33902: Move modal inside HTML body
To test: -Go Administration > Libraries and add a URL for a branch. -Also add some OPAC info: ( via HTML Customizations ) -Now find a record belonging to that branch and bring up the OPAC detail page. -In the holdings table there should be a link under the 'Current library' column. -Clicking it should bring up a modal. -Make sure the modal pops up correctly, can be dismissed, and the 'Visit web site' link works. Nothing about the appearance or behavior of the page should change. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Cook <dcook@prosentient.com.au>
This commit is contained in:
parent
a835384453
commit
0011609757
1 changed files with 21 additions and 21 deletions
|
@ -1149,6 +1149,27 @@
|
|||
</div> <!-- /#myModal -->
|
||||
[% END %]
|
||||
|
||||
<!-- Library Info Modal -->
|
||||
<div class="modal" id="libraryInfoModal" tabindex="-1" aria-labelledby="libraryInfoModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="libraryInfoModalLabel"></h5>
|
||||
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="libraryInfo"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a id="libraryInfoLink" href="" class="btn btn-primary">Visit web site</a>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div> <!-- /.modal-content -->
|
||||
</div> <!-- /.modal-dialog -->
|
||||
</div> <!-- /.modal -->
|
||||
|
||||
[% INCLUDE 'opac-bottom.inc' %]
|
||||
|
||||
[%# End of template %]
|
||||
|
@ -1408,27 +1429,6 @@
|
|||
</table>
|
||||
[% END %][%# end of items_table block %]
|
||||
|
||||
<!-- Library Info Modal -->
|
||||
<div class="modal" id="libraryInfoModal" tabindex="-1" aria-labelledby="libraryInfoModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="libraryInfoModalLabel"></h5>
|
||||
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="libraryInfo"></div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a id="libraryInfoLink" href="" class="btn btn-primary">Visit web site</a>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div> <!-- /.modal-content -->
|
||||
</div> <!-- /.modal-dialog -->
|
||||
</div> <!-- /.modal -->
|
||||
|
||||
[% IF Koha.Preference('OpacCatalogConcerns') %]
|
||||
[% INCLUDE 'modals/catalog_concern.inc' %]
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue