User tests: Successful: Unsuccessful:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31215
This fixes the '::' separated tooltips you see on the change state buttons in the grid (list) views.
To facilitate this, I have added a method to the JHtml class called tooltipText.
This method will convert a foo::bar
style string to a string ready for the Bootstrap tooltips: <strong>foo</strong><br />bar
.
JHtml::tooltipText('foo::bar');
Or it concatenates 2 strings in the <strong>foo</strong><br />bar
style:
JHtml::tooltipText('foo', 'bar');
This method can be used anywhere else now too.
Check all the grid views (list views, like the Article Manager, Module Manager, etc) to see if the tooltips on the state buttons are ok.
Made redundant because of #1356