diff --git a/pylons_app/templates/branches/branches.html b/pylons_app/templates/branches/branches.html --- a/pylons_app/templates/branches/branches.html +++ b/pylons_app/templates/branches/branches.html @@ -18,18 +18,19 @@ - %for cnt,branch in enumerate(c.repo_branches): + %for cnt,branch in enumerate(c.repo_branches.items()): - + %endfor
${branch._ctx.date()|n,filters.age}${branch[1]._ctx.date()|n,filters.age} - ${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} + ${h.link_to(branch[0], + h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))} - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} + ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))} | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} + ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}