[Koha-bugs] [Bug 14582] OPAC detail shows an unuseful link to "add tag" when user is not logged in
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 23 09:53:26 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14582
Marc Véron <veron at veron.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #49396|0 |1
is obsolete| |
--- Comment #3 from Marc Véron <veron at veron.ch> ---
Created attachment 49431
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49431&action=edit
Bug 14582 - OPAC detail shows an unuseful link to "add tag" when user is not
logged in
This patch rearranges some parts of the OPAC detail page template so
that the "add tag" link does not appear if the user is not logged in.
This patch also includes some whitespace changes, so please diff
accordingly.
To test, apply the patch and set "TagsEnabled" to "Allow."
- With "TagsInputOnDetail" set to "Allow," view the detail page for a
bibliographic record in the OPAC when /not/ logged in. You should see
a "Log in to add tags" link which triggers the login modal when
clicked.
- Log in and view the same page. Confirm that there is now an "Add
tag(s)" link which triggers the add tags form. Confirm that the
behavior of the add tags form is still correct.
- With "TagsInputOnDetail" set to "Don't allow" view the detail page
again and verify that the "Log in to add tags" link doesn't appear
when not logged in, and the "Add tags" link doesn't appear when logged
in.
Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list