## -*- coding: utf-8 -*- ##usage: ## <%namespace name="diff_block" file="/changeset/diff_block.html"/> ## ${diff_block.diff_block(change)} ## <%def name="diff_block(change)">
↑ ${_('Collapse diff')} ↑
%for FID,(cs1, cs2, change, path, diff, stats) in change.iteritems(): ##%if op !='removed':
${h.link_to_if(change!='removed',h.safe_unicode(path),h.url('files_home',repo_name=c.repo_name, revision=cs2,f_path=h.safe_unicode(path)))}
${c.ignorews_url(request.GET, h.FID(cs2,path))} ${c.context_url(request.GET, h.FID(cs2,path))}
${diff|n}
##%endif %endfor
<%def name="diff_block_simple(change)"> %for op,filenode_path,diff in change:
${diff|n}
%endfor