Summary: | Hide RSS feed link when viewing private list in the OPAC | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | ||
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.05.00
|
|
Circulation function: | |||
Attachments: |
Bug 30613: Hide RSS feed link when viewing private list in the OPAC
Bug 30613: Hide RSS feed link when viewing private list in the OPAC Bug 30613: Hide RSS feed link when viewing private list in the OPAC |
Description
Owen Leonard
2022-04-25 17:52:05 UTC
Created attachment 134641 [details] [review] Bug 30613: Hide RSS feed link when viewing private list in the OPAC This patch wraps the List RSS icon in a check on whether the list is public. Private lists RSS can only be accessed by a logged-in patron. To test apply the patch and view a public list in the OPAC. You should see an RSS link icon next to the list title. Now log in to the OPAC and view a private list. There should be no RSS link. Note the QA tool warning about the aria-hidden attribute is a false positive. The parent element has a label. Created attachment 134664 [details] [review] Bug 30613: Hide RSS feed link when viewing private list in the OPAC This patch wraps the List RSS icon in a check on whether the list is public. Private lists RSS can only be accessed by a logged-in patron. To test apply the patch and view a public list in the OPAC. You should see an RSS link icon next to the list title. Now log in to the OPAC and view a private list. There should be no RSS link. Note the QA tool warning about the aria-hidden attribute is a false positive. The parent element has a label. Signed-off-by: David Nind <david@davidnind.com> Working on this one :) Created attachment 134677 [details] [review] Bug 30613: Hide RSS feed link when viewing private list in the OPAC This patch wraps the List RSS icon in a check on whether the list is public. Private lists RSS can only be accessed by a logged-in patron. To test apply the patch and view a public list in the OPAC. You should see an RSS link icon next to the list title. Now log in to the OPAC and view a private list. There should be no RSS link. Note the QA tool warning about the aria-hidden attribute is a false positive. The parent element has a label. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Pushed to master for 22.05, thanks to everybody involved [U+1F984] |