# HG changeset patch # User Mads Kiilerich # Date 2016-01-05 16:55:52 # Node ID 9f754ef1c18f69e1276acc64f5a059ff222bbbb1 # Parent e8229d389948f3a512047d7470bd328717fabeef diff: make diff_block_simple (and thus pull request diffs) collapsable as changeset diffs are I am not sure this is useful when the whole diff is sent to the client side anyway ... but for now, let's be consistent. diff --git a/kallithea/templates/changeset/diff_block.html b/kallithea/templates/changeset/diff_block.html --- a/kallithea/templates/changeset/diff_block.html +++ b/kallithea/templates/changeset/diff_block.html @@ -66,6 +66,10 @@ <%def name="diff_block_simple(files, changes)"> +
+ ↑ ${_('Collapse Diff')} ↑ +
+
%for fid, ch, f, stat in files: <% op, filenode_path, diff = changes[fid] @@ -126,6 +130,7 @@
%endfor + <%def name="diff_block_js()">