diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html
--- a/rhodecode/templates/pullrequests/pullrequest_show.html
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html
@@ -70,14 +70,20 @@
<%include file="/compare/compare_cs.html" />
## FILES
-
${_('Files affected')}
-
+
+ % if c.files:
+
${_('Files affected')}
+
%for fid, change, f, stat in c.files:
${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}
${h.fancy_file_stats(stat)}
%endfor
+
+ %else:
+
${_('Click to load diff details')}
+ %endif
@@ -131,10 +137,12 @@
## diff block
+
<%namespace name="diff_block" file="/changeset/diff_block.html"/>
%for fid, change, f, stat in c.files:
${diff_block.diff_block_simple([c.changes[fid]])}
%endfor
+
## template for inline comment form
<%namespace name="comment" file="/changeset/changeset_file_comment.html"/>