Browse Source

Bug 26804: (QA follow-up) add modal-lg class and intent markup correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Lucas Gass 11 months ago
committed by Jonathan Druart
parent
commit
2b1da2aa0c
  1. 23
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt

23
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt

@ -160,19 +160,18 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
<a class="preview_news btn btn-default btn-xs" data-number="[% loop.count | html %]"><i class="fa fa-eye" aria-hidden="true"></i> Preview content</a>
</div>
<div id="contentModal[% loop.count | html %]" class="modal" tabindex="-1" role="dialog" data-number="[% loop.count | html %]">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Preview of: "[% opac_new.title | html %]"</h5>
</div>
<div class="modal-body">
[% opac_new.content | $raw %]
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
<div class="modal-dialog" role="document">
<div class="modal-content modal-lg">
<div class="modal-header">
<h5 class="modal-title">Preview of: "[% opac_new.title | html %]"</h5>
</div>
<div class="modal-body">
[% opac_new.content | $raw %]
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</td>
<td class="actions">

Loading…
Cancel
Save