## divs are "inline-block" and cannot have whitespace between them.
${h.hidden('compare_org')}
${h.hidden('compare_other')}
%if not c.compare_home:
${_('Swap')}
%endif
${_('Compare Revisions')}
${_('Compare revisions, branches, bookmarks, or tags.')}
##CS
${ungettext('Showing %s commit','Showing %s commits', len(c.cs_ranges)) % len(c.cs_ranges)}
<%include file="compare_cs.html" />
## FILES
% if c.limited_diff:
${ungettext('%s file changed', '%s files changed', len(c.file_diff_data)) % len(c.file_diff_data)}:
% else:
${ungettext('%s file changed with %s insertions and %s deletions','%s files changed with %s insertions and %s deletions', len(c.file_diff_data)) % (len(c.file_diff_data),c.lines_added,c.lines_deleted)}:
%endif
${c.ignorews_url(request.GET)}
${c.context_url(request.GET)}
%if not c.file_diff_data:
${_('No files')}
%endif
%for fid, (url_fid, op, a_path, path, diff, stats) in c.file_diff_data.iteritems():
${h.link_to(h.safe_unicode(path), '#%s' % fid)}
${h.fancy_file_stats(stats)}
%endfor
%if c.limited_diff:
%endif
## diff block
<%namespace name="diff_block" file="/changeset/diff_block.html"/>
${diff_block.diff_block_js()}
${diff_block.diff_block(c.a_repo.repo_name, c.a_ref_type, c.a_ref_name, c.a_rev,
c.cs_repo.repo_name, c.cs_ref_type, c.cs_ref_name, c.cs_rev, c.file_diff_data)}
% if c.limited_diff: