Bug 32679: Use different CSS classes for titles of article requests in staff interface
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 20 Jan 2023 13:51:53 +0000 (13:51 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 14 Mar 2023 20:15:06 +0000 (20:15 +0000)
commitbfd23785efc7b0b7ce1bf849fe3febc5c419ae1c
treed49a6c0d92bdcf3511b2ce25baeecd71911afece
parent0e5891f944854ad92c5f590803e46431ba58b8d0
Bug 32679: Use different CSS classes for titles of article requests in staff interface

The class article-request-title was used for the column with the
article title as well as for the link with the record title. This could
cause some confusion when changing the table with CSS. This patch makes
it so different CSS classes are used for each.

To test:
* Activate article requests in system preferences
* Make sure circulation conditions have article requets = yes
* Create an article request in staff or OPAC
* View the list of article requests in the patron account in staff
* Add the following line to IntranetUserCSS:
  .article-request-title { display:none; }
* Verify the Title column and the title from Record title (first column)
  have vanished.
* Apply patch: now only the column should vanish, Record title shoudl remain
  visible
* If you want: Verify that the record title has a differently named
  class now.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 974563bfeee29eedbd1b1475fd73599959285cb1)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 021b9a5d2fdf7edee6916117266f773808e9073b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-article-requests.inc