Bug 10174: Add a tooltip to explain what is a digest

The digest term seems to be ambiguous for some people.

This patch adds a tooltip to explain what it is (feel free to provide
a better wording).

Test plan:
Go at the OPAC and click on the "Your messaging tab", you should see an
icon close to "Digest only" to explain what is a digest.
Same at the intranet on editing/showing patron info

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2015-04-15 12:19:42 +02:00 committed by Tomas Cohen Arazi
parent 1b0b4ae854
commit d2dd4ca624
2 changed files with 13 additions and 2 deletions

View File

@ -12,6 +12,7 @@
$("#rss"+newid).removeAttr("checked");
}
});
$("#info_digests").tooltip();
});
//]]>
</script>
@ -23,7 +24,8 @@
<th>Days in advance</th>
[% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %]
[% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]
<th>Email</th><th>Digests only?</th>
<th>Email</th>
<th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single mesage." data-placement="right" class="icon icon-info-sign"></i></th>
<!-- <th>RSS</th> -->
[% UNLESS ( messaging_form_inactive ) %]<th>Do not notify</th>[% END %]
</tr>

View File

@ -30,7 +30,15 @@
<input type="hidden" name="modify" value="yes" />
<table class="table table-bordered table-condensed table-striped">
<tr><th>&nbsp;</th><th>Days in advance</th>[% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %][% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]<th>Email</th><th>Digests only?</th><!-- <th>RSS</th> --><th>Do not notify</th></tr>
<tr>
<th>&nbsp;</th>
<th>Days in advance</th>
[% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %]
[% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]
<th>Email</th>
<th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="icon icon-info-sign"></i></th>
<!-- <th>RSS</th> --><th>Do not notify</th>
</tr>
[% FOREACH messaging_preference IN messaging_preferences %]
<tr>
<td>[% IF ( messaging_preference.Item_Due ) %]Item due
@ -139,6 +147,7 @@
$("#rss"+newid).removeAttr("checked");
}
});
$("#info_digests").tooltip();
});
//]]>
</script>