## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> <%block name="title"> ${_('%s Changeset') % c.repo_name} - ${h.show_id(c.changeset)} <%def name="breadcrumbs_links()"> ${_('Changeset')} - ${h.show_id(c.changeset)} <%block name="header_menu"> ${self.menu('repositories')} <%def name="main()"> ${self.repo_context_bar('changelog', c.changeset.raw_id)}
${self.breadcrumbs()}
${self.parent_child_navigation()}
%if c.statuses: [${h.changeset_status_lbl(c.statuses[0])}] %endif
${c.ignorews_url(request.GET)} ${c.context_url(request.GET)}
%if len(c.changeset.parents)>1: ${_('Merge')} %endif %for book in c.changeset.bookmarks: ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endfor %for tag in c.changeset.tags: ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} %endfor %for branch in c.changeset.branches: ${h.link_to(branch,h.url('changelog_home',repo_name=c.repo_name,branch=branch))} %endfor
% if (len(c.changeset.affected_files) <= c.affected_files_cut_off) or c.fulldiff: ${len(c.changeset.removed)} ${len(c.changeset.changed)} ${len(c.changeset.added)} % else: ! ! ! % endif
${h.gravatar_div(h.email_or_none(c.changeset.author), size=20)} ${h.person(c.changeset.author,'full_name_and_username')} - ${h.age(c.changeset.date,True)} ${h.fmt_date(c.changeset.date)}
${h.email_or_none(c.changeset.author)}
%if c.changeset_graft_source_hash:
${_('Grafted from:')} ${h.link_to(h.short_id(c.changeset_graft_source_hash),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset_graft_source_hash), class_="changeset_hash")}
%endif %if c.changeset_transplant_source_hash:
${_('Transplanted from:')} ${h.link_to(h.short_id(c.changeset_transplant_source_hash),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset_transplant_source_hash), class_="changeset_hash")}
%endif % if hasattr(c.changeset, 'successors') and c.changeset.successors:
${_('Replaced by:')} % for i, s in enumerate(c.changeset.successors): <% comma = "" if i != len(c.changeset.successors)-1: comma = ", " %> ${s}${comma} % endfor
% endif % if hasattr(c.changeset, 'predecessors') and c.changeset.predecessors:
${_('Preceded by:')} % for i, s in enumerate(c.changeset.predecessors): <% comma = "" if i != len(c.changeset.predecessors)-1: comma = ", " %> ${s}${comma} % endfor
% endif
${h.urlify_text(c.changeset.message, c.repo_name)}
<% a_rev, cs_rev, file_diff_data = c.changes[c.changeset.raw_id] %> % if c.limited_diff: ${ungettext('%s file changed', '%s files changed', len(file_diff_data)) % len(file_diff_data)}: % else: ${ungettext('%s file changed with %s insertions and %s deletions', '%s files changed with %s insertions and %s deletions', len(file_diff_data)) % (len(file_diff_data), c.lines_added, c.lines_deleted)}: %endif
%for fid, url_fid, op, a_path, path, diff, stats in file_diff_data:
${h.link_to(path, '#%s' % fid)}
${h.fancy_file_stats(stats)}
%endfor %if c.limited_diff:
${_('Changeset was too big and was cut off...')} ${_('Show full diff anyway')}
%endif
${comment.comment_count(c.inline_cnt, len(c.comments))}
## diff block
<%namespace name="diff_block" file="/changeset/diff_block.html"/> ${diff_block.diff_block_js()} <% a_rev, cs_rev, file_diff_data = c.changes[c.changeset.raw_id] %> ${diff_block.diff_block(c.repo_name, 'rev', a_rev, a_rev, c.repo_name, 'rev', cs_rev, cs_rev, file_diff_data)} % if c.limited_diff:

${_('Changeset was too big and was cut off...')} ${_('Show full diff anyway')}

% endif
## template for inline comment form ${comment.comment_inline_form()} ## render comments and inlines ${comment.generate_comments()} ## main comment form and it status ${comment.comments()}
## FORM FOR MAKING JS ACTION AS CHANGESET COMMENTS