# HG changeset patch
# User Jan Heylen <[email protected]>
# Date 1449129566 -3600
#      Thu Dec 03 08:59:26 2015 +0100
# Node ID 6b772872896fdad1ac6e77f9e6c2a033758c8e29
# Parent  1965658b1e2a30a05ae38c4d5ab3c4f0b0eda89d
pull-request: collapse diff by default

to motivate users to do reviews on a commit level

diff -r 1965658b1e2a -r 6b772872896f 
kallithea/templates/pullrequests/pullrequest_show.html
--- a/kallithea/templates/pullrequests/pullrequest_show.html    Sun Nov 29 
16:43:42 2015 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_show.html    Thu Dec 03 
08:59:26 2015 +0100
@@ -356,7 +356,7 @@
     <div class="commentable-diff">
     <%namespace name="diff_block" file="/changeset/diff_block.html"/>
     ${diff_block.diff_block_js()}
-      ${diff_block.diff_block_simple(c.files, c.changes)}
+      ${diff_block.diff_block_simple(c.files, c.changes,hidden=True)}
     % if c.limited_diff:
       <h4>${_('Changeset was too big and was cut off...')} <a 
href="${h.url.current(fulldiff=1, **request.GET.mixed())}">${_('Show full diff 
anyway')}</a></h4>
     % endif
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to