From: Garry Collum Date: Thu, 16 Jul 2009 16:45:29 +0000 (-0400) Subject: Bug 3408: Tag cloud says login when logged in - fix. X-Git-Tag: v3.00.04~349 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=08c3e06ff55a5a0ad7fad202ee48ad461e722f6d;p=koha.git 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 --- 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 + +