cubicweb #1112781 box: change to a new useful tooltip convention [deprecated]
In box widget, we display __regid__ as default action tooltip. Maybe, we could create a new tooltip attribute to replace that. Whatever, we should not confuse users by technical implementation details as __regid__. Related coded in web.box.BoxTemplate.boxitem_link_tooltip(self, action) Patch ready for inclusion: feature-1112781-new_tooltip_default.diff in juj's branch | |
priority | minor |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2010/06/29 16:35, written by acampeas
-
2010/06/29 16:57
-
2010/06/29 17:03, written by acampeas
-
2010/06/29 17:27
-
2010/06/30 10:37, written by sthenault
-
2010/06/30 11:52
-
2010/06/30 12:11, written by sthenault
-
2010/06/30 12:20
add commentisnt the bug that the __regid__ is not properly translated ?
I see no valid reason to translate every box __regid__ attributes (and I don't want to have to :)
now that I'm thinking more about it, isnt that we often do:
The title attribute is already used in the link element text. I don't like the idea to have default value similar with what is already displayed.
Not sure that every view as a default title. If not, we may have untranslated strings especially from the framework actions.
what's a 'box tooltip' ? are you talking about actions in the actions box ?
No, I mean the xhtml title attribute displayed when the mouse pointer hovers over the element
which element?
Humm, correction here.
The concerned xhtml elements are the actions in actions box as you mentioned.
The current tooltip string are: 'keyword: action.__regid__'.