[koha-commits] main Koha release repository branch master updated. v3.22.00-969-g2c07ea1
Git repo owner
gitmaster at git.koha-community.org
Wed Mar 23 23:55:44 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 2c07ea19c91b4c6dfdd878129ec248cafe156449 (commit)
from 05a354f9e16ccee7bba90b2242ac888f37f56f05 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2c07ea19c91b4c6dfdd878129ec248cafe156449
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Mar 21 10:47:56 2016 -0400
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>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 57 ++++++++++----------
1 file changed, 27 insertions(+), 30 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list