Show More
@@ -49,11 +49,11 b' class OPS(object):' | |||||
49 | def wrap_to_table(str_): |
|
49 | def wrap_to_table(str_): | |
50 | return '''<table class="code-difftable"> |
|
50 | return '''<table class="code-difftable"> | |
51 | <tr class="line no-comment"> |
|
51 | <tr class="line no-comment"> | |
52 |
<td class="add-comment-line tooltip" title=" |
|
52 | <td class="add-comment-line tooltip" title="%s"><span class="add-comment-content"></span></td> | |
53 | <td class="lineno new"></td> |
|
53 | <td class="lineno new"></td> | |
54 | <td class="code no-comment"><pre>%s</pre></td> |
|
54 | <td class="code no-comment"><pre>%s</pre></td> | |
55 | </tr> |
|
55 | </tr> | |
56 | </table>''' % str_ |
|
56 | </table>''' % (_('Click to comment'), str_) | |
57 |
|
57 | |||
58 |
|
58 | |||
59 | def wrapped_diff(filenode_old, filenode_new, diff_limit=None, file_limit=None, |
|
59 | def wrapped_diff(filenode_old, filenode_new, diff_limit=None, file_limit=None, | |
@@ -626,7 +626,9 b' class DiffProcessor(object):' | |||||
626 | """ |
|
626 | """ | |
627 |
|
627 | |||
628 | if condition: |
|
628 | if condition: | |
629 |
return '''<a href="%(url)s" class="tooltip" |
|
629 | return '''<a href="%(url)s" class="tooltip" | |
|
630 | title="%(title)s">%(label)s</a>''' % { | |||
|
631 | 'title': _('Click to select line'), | |||
630 | 'url': url, |
|
632 | 'url': url, | |
631 | 'label': label |
|
633 | 'label': label | |
632 | } |
|
634 | } |
General Comments 0
You need to be logged in to leave comments.
Login now