## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%block name="title"> ${_('%s Changesets') % c.repo_name} - ${h.show_id(c.cs_ranges[0])} > ${h.show_id(c.cs_ranges[-1])} <%def name="breadcrumbs_links()"> ${_('Changesets')} - ${h.link_to(h.show_id(c.cs_ranges[0]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[0]))} ${h.link_to(h.show_id(c.cs_ranges[-1]),h.url('changeset_home',repo_name=c.repo_name,revision=c.cs_ranges[-1]))} <%block name="header_menu"> ${self.menu('repositories')} <%def name="main()"> ${self.repo_context_bar('changelog')}
${self.breadcrumbs()}
${h.show_id(c.cs_ranges[0])} ${h.show_id(c.cs_ranges[-1])} Compare Revisions
%for cnt,cs in enumerate(c.cs_ranges): %endfor
${h.gravatar(h.email_or_none(cs.author), size=14)}
${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}
${h.person(cs.author)}
${cs.date} %if c.statuses:
%endif
${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name)}
${_('Files affected')}
%for cs in c.cs_ranges:
${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}
%for FID, (cs1, cs2, change, path, diff, stats) in c.changes[cs.raw_id].iteritems():
${h.link_to(h.safe_unicode(path),h.url.current(anchor=FID))}
${h.fancy_file_stats(stats)}
%endfor %endfor
<%namespace name="comment" file="/changeset/changeset_file_comment.html"/> <%namespace name="diff_block" file="/changeset/diff_block.html"/> ${diff_block.diff_block_js()} %for cs in c.cs_ranges: ##${comment.comment_inline_form(cs)} ## diff block
${h.show_id(cs)}
${h.gravatar(h.email_or_none(cs.author), size=20)}
%if len(cs.parents)>1: ${_('merge')} %endif %if h.is_hg(c.db_repo_scm_instance): %for book in cs.bookmarks: ${h.link_to(book,h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))} %endfor %endif %for tag in cs.tags: ${h.link_to(tag,h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))} %endfor %if cs.branch: ${h.link_to(cs.branch,h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))} %endif
${diff_block.diff_block(c.changes[cs.raw_id])} %endfor