Bug 6399 - tooltip for tags that says 'separate by comma'

Some sites split tags on spaces, some on commas. Since Koha splits on a
comma, we should make that clear to the patron. This patch adds
additional text to the "New tag(s)" label.

To test, enable TagsEnabled, TagsInputOnDetail, and TagsInputOnList.
Click "Add tag" on both OPAC search results and an OPAC detail page.
Confirm that the revised label appears correctly.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
all tests pass

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests pass. There are some more places where we can
add tags to multiple records at once, I noted them on the bug.

http://bugs.koha-community.org/show_bug.cgi?id=10259

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Owen Leonard 2013-05-15 08:45:32 -04:00 committed by Galen Charlton
parent 10098fbcc5
commit 14ac6cf11b
3 changed files with 6 additions and 2 deletions

View file

@ -1448,6 +1448,10 @@ padding-left : .4em;
margin-top : .5em;
}
.actions a {
white-space: nowrap;
}
.m880 {
display:block;
text-align:right;

View file

@ -785,7 +785,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( loggedinusername ) %]
<a class="tag_add" id="tag_add[% biblionumber %]" href="#">Add</a>
<form id="tagform[% biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
<label for="newtag[% biblionumber %]">New tag(s):</label>
<label for="newtag[% biblionumber %]">New tag(s), separated by a comma:</label>
<input name="newtag[% biblionumber %]" id="newtag[% biblionumber %]" maxlength="100" type="text"/>
<input name="tagbutton" class="input tagbutton" title="[% biblionumber %]" type="submit" value="Add" />
<a class="cancel_tag_add" id="cancel[% biblionumber %]" href="#">(done)</a>

View file

@ -646,7 +646,7 @@ $(document).ready(function(){
[% IF ( loggedinusername ) %]
<a class="tag_add" id="tag_add[% SEARCH_RESULT.biblionumber %]" href="#">Add tag</a>
<span id="tagform[% SEARCH_RESULT.biblionumber %]" class="tag_results_input" style="display:none;">
<label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s):</label>
<label for="newtag[% SEARCH_RESULT.biblionumber %]">New tag(s), separated by a comma:</label>
<input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
<input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
<a class="cancel_tag_add" id="cancel[% SEARCH_RESULT.biblionumber %]" href="#">(done)</a>