Bugzilla – Attachment 112883 Details for
Bug 26804
News: Move the news preview out of the table and into a modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26804: (QA follow-up) add modal-lg class and intent markup correctly
Bug-26804-QA-follow-up-add-modal-lg-class-and-inte.patch (text/plain), 2.94 KB, created by
Lucas Gass (lukeg)
on 2020-11-02 23:44:10 UTC
(
hide
)
Description:
Bug 26804: (QA follow-up) add modal-lg class and intent markup correctly
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-11-02 23:44:10 UTC
Size:
2.94 KB
patch
obsolete
>From d8195b916c1e62d7f2e6adf571d999ed3930a717 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 2 Nov 2020 23:39:21 +0000 >Subject: [PATCH] Bug 26804: (QA follow-up) add modal-lg class and intent > markup correctly > >--- > .../prog/en/modules/tools/koha-news.tt | 23 +++++++++++----------- > 1 file changed, 11 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index 2a189a1b6b..2ad87f82a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/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"> >-- >2.11.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 26804
:
112296
|
112407
|
112629
|
112639
|
112683
|
112883
|
112953
|
112954