From 08c3e06ff55a5a0ad7fad202ee48ad461e722f6d Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Thu, 16 Jul 2009 12:45:29 -0400 Subject: [PATCH] Bug 3408: Tag cloud says login when logged in - fix. Changed the logic in the html form to have the login prompt only appear if a user is not logged in. Separated the hidemylist functionality from the "show tags from other users" option. Created a link for "hide my tags" or "show my tags" depending on context. The user can now choose how many tags of other users to show, and can also choose whether to show their own tags or not. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 4 ++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 8148f683bc..6c5e963849 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -801,6 +801,10 @@ a.cancel { padding-left : 1em; } +a.hidemytags { + padding-left : 2em; +} + .resultscontrol, .resultscontrol select { font-size: 90%; } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl index 7fd20d0600..2f4aa9ecf8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tmpl @@ -79,8 +79,17 @@
Show up to " /> tags from other users. + - Log in to see your own saved tags.
+ + + + Log in to see your own saved tags. + + ">Show my tags + &hidemytags=1">Hide my tags + +
-- 2.39.5