diff --git a/pylons_app/templates/changelog/changelog.html b/pylons_app/templates/changelog/changelog.html --- a/pylons_app/templates/changelog/changelog.html +++ b/pylons_app/templates/changelog/changelog.html @@ -3,106 +3,107 @@ <%def name="title()"> ${_('Changelog - %s') % c.repo_name} -<%def name="breadcrumbs()"> + +<%def name="breadcrumbs_links()"> ${h.link_to(u'Home',h.url('/'))} - / - ${h.link_to(c.repo_name,h.url('changelog_home',repo_name=c.repo_name))} - / - ${_('changelog')} + » + ${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()"> - - - -% if c.pagination: - -
-
- -
-
-
- ${h.form(h.url.current(),method='get')} -
- ${_('Show')}: - ${h.text('size',size=2,value=c.size)} - ${_('revisions')} - ${h.submit('set',_('set'))} -
- ${h.end_form()} -
- %for cnt,cs in enumerate(c.pagination): -
-
-
${_('commit')} ${cs.revision}: ${cs.raw_id}@${cs.date}
- - ${cs.branch} - %for tag in cs.tags: - ${tag} - %endfor - -
${cs.author}
-
- ${h.link_to(h.wrap_paragraphs(cs.message), - h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} +
+ +
+ ${self.breadcrumbs()} +
+
+ % if c.pagination: +
+
+
-
-
-
- ${len(cs.removed)} - ${len(cs.changed)} - ${len(cs.added)} -
- %if len(cs.parents)>1: -
- ${_('merge')}merge -
- %endif - %for p_cs in reversed(cs.parents): -
${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id, - h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} +
+
+ + ${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}: ${cs.raw_id}@${cs.date}
+ + ${cs.branch} + %for tag in cs.tags: + ${tag} + %endfor + +
${cs.author}
+
+ ${h.link_to(h.wrap_paragraphs(cs.message), + h.url('changeset_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 - \ No newline at end of file +
+
+
+ ${len(cs.removed)} + ${len(cs.changed)} + ${len(cs.added)} +
+ %if len(cs.parents)>1: +
+ ${_('merge')}merge +
+ %endif + %for p_cs in reversed(cs.parents): +
${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.raw_id, + h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.raw_id),title=p_cs.message)} +
+ %endfor +
+
+ + %endfor +
+ ${c.pagination.pager('$link_previous ~2~ $link_next')} +
+
+
+ + + + %else: + ${_('There are no changes yet')} + %endif +
+
+ \ No newline at end of file