## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Changeset')} - r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(u'Home',h.url('/'))} » ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} » ${_('Changeset')} - r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} <%def name="page_nav()"> ${self.menu('changelog')} <%def name="main()">
${self.breadcrumbs()}
${_('Changeset')} - r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)} » ${h.link_to(_('raw diff'), h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='show'))} » ${h.link_to(_('download diff'), h.url('raw_changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id,diff='download'))}
${_('commit')} ${c.changeset.revision}: ${h.short_id(c.changeset.raw_id)}@${c.changeset.date}
gravatar
${h.person(c.changeset.author)}
${h.email_or_none(c.changeset.author)}
${h.link_to(h.wrap_paragraphs(c.changeset.message),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
% if len(c.changeset.affected_files) <= c.affected_files_cut_off: ${len(c.changeset.removed)} ${len(c.changeset.changed)} ${len(c.changeset.added)} % else: ! ! ! % endif
%if len(c.changeset.parents)>1:
${_('merge')}merge
%endif %if c.changeset.parents: %for p_cs in reversed(c.changeset.parents):
${_('Parent')} ${p_cs.revision}: ${h.link_to(h.short_id(p_cs.raw_id), h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)}
%endfor %else:
${_('No parents')}
%endif ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %for tag in c.changeset.tags: ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endfor
${_('%s files affected with %s additions and %s deletions.') % (len(c.changeset.affected_files),c.lines_added,c.lines_deleted)}
%for change,filenode,diff,cs1,cs2,stat in c.changes:
${h.link_to(h.safe_unicode(filenode.path), h.url.current(anchor=h.repo_name_slug('C%s' % h.safe_unicode(filenode.path))))}
${h.fancy_file_stats(stat)}
%endfor % if c.cut_off: ${_('Changeset was too big and was cut off...')} % endif
%for change,filenode,diff,cs1,cs2,stat in c.changes: %if change !='removed':
${h.link_to_if(change!='removed',h.safe_unicode(filenode.path),h.url('files_home',repo_name=c.repo_name, revision=filenode.changeset.raw_id,f_path=h.safe_unicode(filenode.path)))} %if 1: » ${h.link_to(_('diff'), h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='diff'))} » ${h.link_to(_('raw diff'), h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='raw'))} » ${h.link_to(_('download diff'), h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(filenode.path),diff2=cs2,diff1=cs1,diff='download'))} %endif
%if diff: ${diff|n} %else: ${_('No changes in this file')} %endif
%endif %endfor