Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
2426:b80c2f617d44 | 2427:f467c75544af |
---|---|
34 %if c.rhodecode_user.username != 'default': | 34 %if c.rhodecode_user.username != 'default': |
35 <div class="overlay"><div class="overlay-text">${_('Submitting...')}</div></div> | 35 <div class="overlay"><div class="overlay-text">${_('Submitting...')}</div></div> |
36 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id),class_='inline-form')} | 36 ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=changeset.raw_id),class_='inline-form')} |
37 <div class="clearfix"> | 37 <div class="clearfix"> |
38 <div class="comment-help">${_('Commenting on line {1}.')} | 38 <div class="comment-help">${_('Commenting on line {1}.')} |
39 ${(_('Comments parsed using %s syntax with %s support.') % (('<a href="%s">RST</a>' % h.url('rst_help')), | 39 ${(_('Comments parsed using %s syntax with %s support.') % ( |
40 '<span style="color:#003367" class="tooltip" title="%s">@mention</span>' % | 40 ('<a href="%s">RST</a>' % h.url('rst_help')), |
41 _('Use @username inside this text to send notification to this RhodeCode user')))|n} | 41 ('<span style="color:#003367" class="tooltip" title="%s">@mention</span>' % _('Use @username inside this text to send notification to this RhodeCode user')) |
42 ) | |
43 )|n | |
44 } | |
42 </div> | 45 </div> |
43 <div class="mentions-container" id="mentions_container_{1}"></div> | 46 <div class="mentions-container" id="mentions_container_{1}"></div> |
44 <textarea id="text_{1}" name="text" class="yui-ac-input"></textarea> | 47 <textarea id="text_{1}" name="text" class="yui-ac-input"></textarea> |
45 </div> | 48 </div> |
46 <div class="comment-button"> | 49 <div class="comment-button"> |