## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Changelog') % c.repo_name} · ${c.rhodecode_name} <%def name="breadcrumbs_links()"> <% size = c.size if c.size <= c.total_cs else c.total_cs %> ${_('Changelog')} - ${ungettext('showing %d out of %d revision', 'showing %d out of %d revisions', size) % (size, c.total_cs)} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="main()"> ${self.context_bar('changelog')}
${self.breadcrumbs()}
% if c.pagination:
%if c.rhodecode_db_repo.fork: ${_('Compare fork with parent')} %endif %if h.is_hg(c.rhodecode_repo): ${_('Open new pull request')} %endif
${h.form(h.url.current(),method='get')}
${h.submit('set',_('Show'),class_="ui-btn")} ${h.text('size',size=1,value=c.size)} ${_('revisions')}
${h.end_form()}
${h.select('branch_filter',c.branch_name,c.branch_filters)}
%for cnt,cs in enumerate(c.pagination): %endfor
${h.checkbox(cs.raw_id,class_="changeset_range")} gravatar ${h.shorter(h.person(cs.author),22)} ${h.show_id(cs)}
${h.age(cs.date,True)}
${h.urlify_commit(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
↓ ${_('Show more')} ↓
%if c.comments.get(cs.raw_id,[]): %endif %if h.is_hg(c.rhodecode_repo): %for book in cs.bookmarks:
${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor %endif %for tag in cs.tags:
${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
%endfor %if (not c.branch_name) and cs.branch:
${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
%endif
${c.pagination.pager('$link_previous ~2~ $link_next')}
%else: ${_('There are no changes yet')} %endif