## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Changeset') % c.repo_name} - 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()}
r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)}
${h.fmt_date(c.changeset.date)}
%if c.statuses:
[${h.changeset_status_lbl(c.statuses[0])}]
%endif
${c.ignorews_url(request.GET)} ${c.context_url(request.GET)}
${ungettext("%d comment", "%d comments", len(c.comments)) % len(c.comments)} ${ungettext("(%d inline)", "(%d inline)", c.inline_cnt) % c.inline_cnt}
gravatar
${h.person(c.changeset.author)}
${h.email_or_none(c.changeset.author)}
${h.urlify_commit(c.changeset.message, c.repo_name)}
% 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 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 %if len(c.changeset.parents)>1: ${_('merge')} %endif %if c.changeset.branch: ${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endif %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 insertions and %s deletions:') % (len(c.changeset.affected_files),c.lines_added,c.lines_deleted)}
%for change,filenode,diff,cs1,cs2,stat in c.changes:
%if change != 'removed': ${h.link_to(h.safe_unicode(filenode.path),c.anchor_url(filenode.changeset.raw_id,filenode.path,request.GET)+"_target")} %else: ${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID('',filenode.path)))} %endif
${h.fancy_file_stats(stat)}
%endfor % if c.cut_off: ${_('Changeset was too big and was cut off...')} % endif
## diff block <%namespace name="diff_block" file="/changeset/diff_block.html"/> ${diff_block.diff_block(c.changes)} ## template for inline comment form <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> ${comment.comment_inline_form()} ## render comments and inlines ${comment.generate_comments()} ## main comment form and it status ${comment.comments(h.url('changeset_comment', repo_name=c.repo_name, revision=c.changeset.raw_id), h.changeset_status(c.rhodecode_db_repo, c.changeset.raw_id))} ## FORM FOR MAKING JS ACTION AS CHANGESET COMMENTS