## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%def name="title()"> ${_('%s Commits') % c.repo_name} - r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)} ... r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)} ${_ungettext('(%s commit)','(%s commits)', len(c.commit_ranges)) % len(c.commit_ranges)} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> ${_('Commits')} - r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)} ... r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)} ${_ungettext('(%s commit)','(%s commits)', len(c.commit_ranges)) % len(c.commit_ranges)} <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='commits')} <%def name="main()">

${_('Commit Range')} r${c.commit_ranges[0].idx}:${h.short_id(c.commit_ranges[0].raw_id)}...r${c.commit_ranges[-1].idx}:${h.short_id(c.commit_ranges[-1].raw_id)}

${_('Diff option')}:
## Commit range generated below <%include file="../compare/compare_commits.mako"/>
<%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/> <%namespace name="comment" file="/changeset/changeset_file_comment.mako"/> <%namespace name="diff_block" file="/changeset/diff_block.mako"/> ${cbdiffs.render_diffset_menu()} %for commit in c.commit_ranges: ${cbdiffs.render_diffset( diffset=c.changes[commit.raw_id], collapse_when_files_over=5, commit=commit, )} %endfor