Mercurial > kallithea
diff rhodecode/templates/changeset/changeset_file_comment.html @ 2427:f467c75544af beta
Added h.tooltip to all places that tooltip_title is used.
- improved escaping of < and > inside tooltips
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 08 Jun 2012 21:54:50 +0200 |
parents | c2f131502037 |
children | 9f37281195a2 |
line wrap: on
line diff
--- a/rhodecode/templates/changeset/changeset_file_comment.html Fri Jun 08 02:50:47 2012 +0200 +++ b/rhodecode/templates/changeset/changeset_file_comment.html Fri Jun 08 21:54:50 2012 +0200 @@ -36,9 +36,12 @@ ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id),class_='inline-form')} <div class="clearfix"> <div class="comment-help">${_('Commenting on line {1}.')} - ${(_('Comments parsed using %s syntax with %s support.') % (('<a href="%s">RST</a>' % h.url('rst_help')), - '<span style="color:#003367" class="tooltip" title="%s">@mention</span>' % - _('Use @username inside this text to send notification to this RhodeCode user')))|n} + ${(_('Comments parsed using %s syntax with %s support.') % ( + ('<a href="%s">RST</a>' % h.url('rst_help')), + ('<span style="color:#003367" class="tooltip" title="%s">@mention</span>' % _('Use @username inside this text to send notification to this RhodeCode user')) + ) + )|n + } </div> <div class="mentions-container" id="mentions_container_{1}"></div> <textarea id="text_{1}" name="text" class="yui-ac-input"></textarea>