Bug 21341: Style button on acquisitions existing record search with Bootstrap
This patch adds Bootstrap button styles to two links: View MARC and Order. Unrelated: A "modal-wide" class has been added to the View MARC modal to give more room for the MARC view. To test, apply the patch and go to Acquisitions -> Vendor -> Basket -> Add to basket -> From an existing record. In the record search results, confirm that the View MARC and Order links are now Bootstrap buttons. Test the View MARC button and confirm that the modal preview fills most of the screen. Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
616ed6013f
commit
4bbbd083cf
|
|
@ -68,10 +68,10 @@
|
|||
[% biblio.copyrightdate | html %]
|
||||
</td>
|
||||
<td>
|
||||
<a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber | html %]&viewas=html" class="previewMARC">View MARC</a>
|
||||
<a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber | html %]&viewas=html" class="btn btn-default btn-xs previewMARC">View MARC</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]&biblionumber=[% biblio.biblionumber | html %]" title="Order this one">
|
||||
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]&biblionumber=[% biblio.biblionumber | html %]" class="btn btn-default btn-xs" title="Order this one">
|
||||
Order
|
||||
</a>
|
||||
</td>
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<div id="marcPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-dialog modal-wide">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue