## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${c.repo_name} ${_('Changelog')} - ${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))} » ${_('Changelog')} - ${_('showing ')} ${c.size if c.size <= c.total_cs else c.total_cs} ${_('out of')} ${c.total_cs} ${_('revisions')} <%def name="page_nav()"> ${self.menu('changelog')} <%def name="main()">
${self.breadcrumbs()}
% if c.pagination:
${h.form(h.url.current(),method='get')}
${_('Show')}: ${h.text('size',size=1,value=c.size)} ${_('revisions')} ${h.submit('set',_('set'))}
${h.end_form()}
%for cnt,cs in enumerate(c.pagination):
${_('commit')} ${cs.revision}: ${h.short_id(cs.raw_id)}@${cs.date}
gravatar
${h.person(cs.author)}
${h.email_or_none(cs.author)}
${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
<% def changed_tooltip(cs): if cs: pref = ': ' suf = '' if len(cs) > 30: suf='
'+_(' and %s more') % (len(cs) - 30) return pref+'
'.join([x.path for x in cs[:30]]) + suf else: return ': '+_('No Files') %> ${len(cs.removed)} ${len(cs.changed)} ${len(cs.added)}
%if len(cs.parents)>1:
${_('merge')}merge
%endif %if cs.parents: %for p_cs in reversed(cs.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 cs.branch: ${h.link_to(cs.branch,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endif %for tag in cs.tags: ${h.link_to(tag,h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} %endfor
%endfor
${c.pagination.pager('$link_previous ~2~ $link_next')}
%else: ${_('There are no changes yet')} %endif