Bugzilla – Attachment 160334 Details for
Bug 35628
Add optional statuses to catalog concerns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35628: Add current status as a class to table rows
Bug-35628-Add-current-status-as-a-class-to-table-r.patch (text/plain), 1.27 KB, created by
Martin Renvoize (ashimema)
on 2023-12-28 10:06:41 UTC
(
hide
)
Description:
Bug 35628: Add current status as a class to table rows
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-12-28 10:06:41 UTC
Size:
1.27 KB
patch
obsolete
>From 87744f491fabf7c92e6e843d3fdcf19d95144a17 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 27 Dec 2023 11:08:09 +0000 >Subject: [PATCH] Bug 35628: Add current status as a class to table rows > >This patch adds the current status, if there is one set, to the table >rows of the concerns interface. >--- > .../intranet-tmpl/prog/en/modules/cataloguing/concerns.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >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 49c3c5173b0..1b649fe5da6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt >@@ -185,7 +185,12 @@ > "searchable": false, > "orderable": false > }, >- ] >+ ], >+ createdRow: function (row, data, dataIndex) { >+ if ( data.status ) { >+ $(row).addClass(data.status.toLowerCase()); >+ } >+ }, > }, table_settings, 1, additional_filters); > > var txtActivefilter = _("Filter resolved"); >-- >2.43.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 35628
:
160255
|
160256
|
160257
|
160258
|
160259
|
160268
|
160269
|
160270
|
160271
|
160272
|
160273
|
160274
|
160286
|
160287
|
160288
|
160289
|
160290
|
160308
|
160309
|
160310
|
160311
|
160312
|
160313
|
160314
|
160315
|
160316
|
160317
|
160318
|
160319
|
160320
|
160329
|
160330
|
160331
|
160332
|
160333
|
160334
|
160335
|
160364
|
162500
|
164912
|
164913
|
164914
|
164915
|
164916
|
164917
|
164918
|
165551
|
165552
|
165553
|
165554
|
165555
|
165556
|
165557
|
165560
|
165561
|
165562
|
165563
|
165564
|
165599
|
165600
|
165601
|
165602
|
165603
|
165604
|
165605
|
165606
|
165607
|
165608
|
165622
|
165623
|
165624
|
165625
|
165626
|
165627
|
165628
|
165629
|
165630
|
165631
|
165770
|
165771
|
165772
|
165773
|
165774
|
165775
|
165776
|
165777
|
165778
|
165779