diff --git a/rhodecode/templates/codeblocks/diffs.html b/rhodecode/templates/codeblocks/diffs.html --- a/rhodecode/templates/codeblocks/diffs.html +++ b/rhodecode/templates/codeblocks/diffs.html @@ -30,6 +30,9 @@ return h.url('', **new_args) # collapse lines in the diff when more than this amount of lines changed in the file diff lines_changed_limit=500, + + # add a ruler at to the output + ruler_at_chars=0, )"> <% # TODO: dan: move this to an argument - and set a cookie so that it is saved @@ -48,7 +51,20 @@ collapse_all = len(diffset.files) > coll } %endif - +%if ruler_at_chars: + +%endif % if diffset.limited_diff:
${_('The requested commit is too big and content was truncated.')} ${_('Show full diff')}