## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Changesets') % c.repo_name} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} · ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="main()"> ${self.context_bar('changelog')}
${self.breadcrumbs()}
${h.link_to('r%s:%s -> r%s:%s' % (c.cs_ranges[0].revision, h.short_id(c.cs_ranges[0].raw_id), c.cs_ranges[-1].revision, h.short_id(c.cs_ranges[-1].raw_id)), h.url('compare_url',repo_name=c.repo_name,org_ref_type='rev',org_ref=getattr(c.cs_ranges[0].parents[0] if c.cs_ranges[0].parents else h.EmptyChangeset(),'raw_id'),other_ref_type='rev',other_ref=c.cs_ranges[-1].raw_id) )}
%for cnt,cs in enumerate(c.cs_ranges): %endfor
gravatar
${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.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('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.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))}
%endfor %endfor
<%namespace name="comment" file="/changeset/changeset_file_comment.html"/> <%namespace name="diff_block" file="/changeset/diff_block.html"/> %for cs in c.cs_ranges: ##${comment.comment_inline_form(cs)} ## diff block
${'r%s:%s' % (cs.revision,h.short_id(cs.raw_id))}
gravatar
%if len(cs.parents)>1: ${_('merge')} %endif %if h.is_hg(c.rhodecode_repo): %for book in cs.bookmarks: ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor %endif %for tag in cs.tags: ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor %if cs.branch: ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endif
${diff_block.diff_block(c.changes[cs.raw_id])} ##${comment.comments(cs)} %endfor