## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Compare') % c.repo_name} - ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -> ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} · ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_(u'Home'),h.url('/'))} » ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} » ${_('compare')} <%def name="page_nav()"> ${self.menu('changelog')} <%def name="main()">
${self.breadcrumbs()}

${_('Compare View')}

${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -> ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} [swap]
##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.files)) % len(c.files)} % else: ${ungettext('%s file changed with %s insertions and %s deletions','%s files changed with %s insertions and %s deletions', len(c.files)) % (len(c.files),c.lines_added,c.lines_deleted)}: %endif
%if not c.files: ${_('No files')} %endif %for fid, change, f, stat in c.files:
${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid, **request.GET.mixed()))}
${h.fancy_file_stats(stat)}
%endfor
% if c.limited_diff:
${_('Changeset was too big and was cut off...')} ${_('Show full diff')}
% endif
## 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 % if c.limited_diff:

${_('Changeset was too big and was cut off...')} ${_('Show full diff')}

% endif