## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%namespace name="diff_block" file="/changeset/diff_block.html"/> <%def name="title()"> ${_('%s Commit') % c.repo_name} - ${h.show_id(c.commit)} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='changelog')} <%def name="main()">
${self.repo_page_title(c.rhodecode_db_repo)}

${_('Commit')} ${h.show_id(c.commit)}

${_('Parent')} | ${_('Child')}
${_('Description')}:
${h.urlify_commit_message(c.commit.message,c.repo_name)}
%if c.statuses:
${_('Commit status')}:
[${h.commit_status_lbl(c.statuses[0])}]
%endif
${_('References')}:
%if c.commit.merge: ${_('merge')} %endif %if h.is_hg(c.rhodecode_repo): %for book in c.commit.bookmarks: ${h.shorter(book)} %endfor %endif %for tag in c.commit.tags: ${tag} %endfor %if c.commit.branch: ${h.shorter(c.commit.branch)} %endif
${_('Diffs')}:
${_('Raw Diff')} | ${_('Patch Diff')} | ${_('Download Diff')} | ${c.ignorews_url(request.GET)} | ${c.context_url(request.GET)}
${_('Comments')}:
%if c.comments: ${ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)}, %else: ${ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)} %endif %if c.inline_cnt: ## this is replaced with a proper link to first comment via JS linkifyComments() func ${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt} %else: ${ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt} %endif
${_('Browse files')} | ${_('Expand All')} | ${_('Collapse All')}

${diff_block.diff_summary_text(len(c.files), c.lines_added, c.lines_deleted, c.limited_diff)}

%if not c.files:

${_('No files')}

%endif %for FID, (cs1, cs2, change, path, diff, stats, file) in c.changes[c.commit.raw_id].iteritems(): %endfor
${h.fancy_file_stats(stats)}
${diff|n} % if file and file["is_limited_diff"]: % if file["exceeds_limit"]: ${diff_block.file_message()} % else:
${_('Diff was truncated. File content available only in full diff.')} ${_('Show full diff')}
% endif % endif
% if c.limited_diff: ${diff_block.changeset_message()} % endif ## 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.commit.raw_id), h.commit_status(c.rhodecode_db_repo, c.commit.raw_id))} ## FORM FOR MAKING JS ACTION AS CHANGESET COMMENTS