%inherit file="/base/base.html"/> <%namespace name="diff_block" file="/changeset/diff_block.html"/> <%def name="title()"> ${_('%s File Diff') % c.repo_name} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif %def> <%def name="breadcrumbs_links()"> ${_('Compare')} r${c.commit_1.revision}:${h.short_id(c.commit_1.raw_id)} % if c.filename1 != c.filename: ${c.filename1} % endif ... r${c.commit_2.revision}:${h.short_id(c.commit_2.raw_id)} %def> <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} %def> <%def name="menu_bar_subnav()"> ${self.repo_menu(active='changelog')} %def> <%def name="breadcrumbs_links()"> ${_('Compare')} r${c.commit_1.revision}:${h.short_id(c.commit_1.raw_id)} % if c.filename1 != c.filename: ${c.filename1} % endif ... r${c.commit_2.revision}:${h.short_id(c.commit_2.raw_id)} % if c.filename1 == c.filename: ${_('for')} ${c.filename1} % endif %def> <%def name="main()">
${_('No commits')}
%else:
${h.link_to('r%s:%s' % (c.commit_1.revision, h.short_id(c.commit_1.raw_id)), h.url('changeset_home',repo_name=c.repo_name, revision=c.commit_1.raw_id))}
${h.link_to('r%s:%s' % (c.commit_2.revision, h.short_id(c.commit_2.raw_id)), h.url('changeset_home',repo_name=c.repo_name, revision=c.commit_2.raw_id))}
%if (stats):
${h.fancy_file_stats(stats)}
%endif
|
|||
${diff_block.diff_menu(c.repo_name, h.safe_unicode(path), cs1, cs2, change, file)} |
${c.ignorews_url(request.GET, h.FID(cs2,path))} |
${c.context_url(request.GET, h.FID(cs2,path))} |
${_('Show comments')}
${_('Hide comments')}
|
||
${diff|n}
% if file and file["is_limited_diff"]:
% if file["exceeds_limit"]:
${diff_block.file_message()}
% else:
${_('Diff was truncated. File content available only in full diff.')} ${_('Show full diff')}% endif % endif |