# HG changeset patch # User Kevin Berridge # Date 1346778235 14400 # Node ID b0bcc35b016acffa95cf8637432061f9b427e9dc # Parent 638009474a3b0ed59f2e74aa518c878c596f9d32 web: display branch name on index if other than 'default' diff -r 638009474a3b -r b0bcc35b016a review/templates/index.html --- a/review/templates/index.html Mon Jan 23 15:01:27 2012 +0100 +++ b/review/templates/index.html Tue Sep 04 13:03:55 2012 -0400 @@ -14,7 +14,12 @@ {{ rev.rev() }}:{{ node_short }} - {{ rev.description().splitlines()[0] }} + + {% if rev.branch() != 'default' %} + [{{ rev.branch() }}] + {%endif%} + {{ rev.description().splitlines()[0] }} + {% with %}