%for cnt,cs in enumerate(c.pagination):
${h.checkbox(cs.short_id,class_="changeset_range")}
${_('commit')} ${cs.revision}: ${h.short_id(cs.raw_id)}@${cs.date}
${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')}
%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