"Suggest for purchase" has no class for CSS manipulation. The other opac-detail-sidebar.inc buttons each have a class on the link element ("reserve" or "print-large") so they can be hidden or appearance changed using CSS. I don't think adding/changing system preferences is necessary, just adding a class to the link in Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (currently on line 37)
Created attachment 107583 [details] [review] Bug 26094: Add class to the "Suggest for purchase" button Bug 14963 added a new "Suggest for purchase" button on the detail page of bibliographic records at the OPAC. This patch adds a specific CSS class to make it reachable easily Like others button in this action list Test plan: Go to the detail page of a bibliographic record at the OPAc Notice the new CSS class
Created attachment 107622 [details] [review] Bug 26094: Add class to the "Suggest for purchase" button Bug 14963 added a new "Suggest for purchase" button on the detail page of bibliographic records at the OPAC. This patch adds a specific CSS class to make it reachable easily Like others button in this action list Test plan: Go to the detail page of a bibliographic record at the OPAc Notice the new CSS class Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Created attachment 107649 [details] [review] Bug 26094: Add class to the "Suggest for purchase" button Bug 14963 added a new "Suggest for purchase" button on the detail page of bibliographic records at the OPAC. This patch adds a specific CSS class to make it reachable easily Like others button in this action list Test plan: Go to the detail page of a bibliographic record at the OPAc Notice the new CSS class Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.03
enhancement, not backported to 19.11.x