From 8582033e7ced48a3e2b85acc741c3ce909c05592 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 --- 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 a87dc1fe89..7c03aedc98 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -831,6 +831,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