# HG changeset patch # User Sean Farley # Date 2014-07-29 23:15:50 # Node ID 8737030a955056f728c580431461bfe7254a1651 # Parent 2978928a95ea7cc1d16031e4c394c8dc1fcfafdb templates/changeset: display successor changesets diff --git a/kallithea/templates/changeset/changeset.html b/kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html +++ b/kallithea/templates/changeset/changeset.html @@ -129,6 +129,21 @@ ${self.repo_context_bar('changelog', c.c ${_('Transplanted from:')} ${h.link_to(h.short_id(rev),h.url('changeset_home',repo_name=c.repo_name,revision=rev))} %endif + + % if hasattr(c.changeset, 'successors') and c.changeset.successors: +
+ ${_('Replaced by:')} + % for i, s in enumerate(c.changeset.successors): + <% + comma = "" + if i != len(c.changeset.successors)-1: + comma = ", " + %> + ${s}${comma} + % endfor +
+ % endif +
${h.urlify_commit(c.changeset.message, c.repo_name)}