# HG changeset patch # User Christophe de Vienne # Date 1416591528 -3600 # Node ID 87fcb432d230eb1ebdb44c5b63bac15008807475 # Parent 8be7ac46f0ecf4759e9649cec7a1e70bd99885aa# Parent b0bcc35b016acffa95cf8637432061f9b427e9dc Merged in kberridge/hg-review (pull request #6) web: display branch name on index if other than 'default' diff -r 8be7ac46f0ec -r 87fcb432d230 review/templates/index.html --- a/review/templates/index.html Fri Nov 21 18:35:45 2014 +0100 +++ b/review/templates/index.html Fri Nov 21 18:38:48 2014 +0100 @@ -14,7 +14,12 @@ {{ rev.rev() }}:{{ node_short }} - {{ rev.description().splitlines()[0] }} + + {% if rev.branch() != 'default' %} + [{{ rev.branch() }}] + {%endif%} + {{ rev.description().splitlines()[0] }} + {% with %}