Changeset - e55041bb3585
[Not reviewed]
default
0 1 0
Mads Kiilerich - 9 years ago 2016-09-25 17:21:07
madski@unity3d.com
diff: don't make '...' a broken link - it doesn't do anything so don't make it a link

It would be nice if it could expand it and increase the context size like
bitbucket does ... but that would be a bigger change.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/diffs.py
Show inline comments
 
@@ -728,13 +728,13 @@ class DiffProcessor(object):
 
                        'a_id': anchor_old_id,
 
                        'olc': no_lineno_class if no_lineno else old_lineno_class,
 
                        'colspan': 'colspan="2"' if no_lineno else ''
 
                    })
 

	
 
                    _html.append('''%(link)s''' % {
 
                        'link': _link_to_if(True, change['old_lineno'],
 
                        'link': _link_to_if(not no_lineno, change['old_lineno'],
 
                                            '#%s' % anchor_old)
 
                    })
 
                    _html.append('''</td>\n''')
 
                    ###########################################################
 
                    # NEW LINE NUMBER
 
                    ###########################################################
0 comments (0 inline, 0 general)