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 @@ -47,12 +47,11 @@ %if path.rsplit('.')[-1] in ['png', 'gif', 'jpg', 'bmp']:
Show images
-
+
+ realsrc="${h.url('files_raw_home',repo_name=c.repo_name,revision=cs1,f_path=path) if change in 'DM' else ''}" /> +
%endif
@@ -100,12 +99,11 @@ %if filenode_path.rsplit('.')[-1] in ['png', 'gif', 'jpg', 'bmp']:
Show images
-
+
+ realsrc="${h.url('files_raw_home',repo_name=c.other_repo.repo_name,revision=c.other_rev,f_path=filenode_path) if op in 'DM' else ''}" /> +
%endif