Bugzilla – Attachment 166243 Details for
Bug 36800
Move tickets/concerns table to include
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36800: Move concern table markup to include
Bug-36800-Move-concern-table-markup-to-include.patch (text/plain), 3.15 KB, created by
Martin Renvoize (ashimema)
on 2024-05-07 09:26:36 UTC
(
hide
)
Description:
Bug 36800: Move concern table markup to include
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-07 09:26:36 UTC
Size:
3.15 KB
patch
obsolete
>From 679367455b2c807931fdbeb78c2ad46197dfb83b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 7 May 2024 10:25:38 +0100 >Subject: [PATCH] Bug 36800: Move concern table markup to include > >This patch moves the table markup for catalog concerns/tickets into an >include. > >We still need to move the JS however. >--- > .../prog/en/includes/tables/tickets.inc | 11 +++++++++++ > .../prog/en/modules/catalogue/detail.tt | 12 +----------- > .../prog/en/modules/cataloguing/concerns.tt | 12 +----------- > 3 files changed, 13 insertions(+), 22 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc >new file mode 100644 >index 00000000000..3963d28e030 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc >@@ -0,0 +1,11 @@ >+<table id="table_concerns" width="100%"> >+ <thead> >+ <tr> >+ <th>Reported</th> >+ <th>Details</th> >+ <th>Title</th> >+ <th>Status</th> >+ <th data-class-name="actions noExport">Actions</th> >+ </tr> >+ </thead> >+</table> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 21ae423a3f4..adef1064dd3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -668,17 +668,7 @@ > | <a id="showAll"><i class="fa fa-bars"></i> Show all</a> > </fieldset> > >- <table id="table_concerns" width="100%"> >- <thead> >- <tr> >- <th>Reported</th> >- <th>Details</th> >- <th>Title</th> >- <th>Status</th> >- <th data-class-name="actions noExport">Actions</th> >- </tr> >- </thead> >- </table> >+ [% INCLUDE 'tables/tickets.inc' %] > </div> > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt >index d0086c8f4ae..9a24d7bf76b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt >@@ -49,17 +49,7 @@ > [% END %] > </fieldset> > >- <table id="table_concerns"> >- <thead> >- <tr> >- <th>Reported</th> >- <th>Details</th> >- <th>Title</th> >- <th>Status</th> >- <th data-class-name="actions noExport">Actions</th> >- </tr> >- </thead> >- </table> >+ [% INCLUDE 'tables/tickets.inc' %] > </div> > </main> > </div> <!-- /.col-sm-10.col-sm-push-2 --> >-- >2.45.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 36800
: 166243