32623 Change order of commits ahead and behind on divergence graph for branch list

This commit is contained in:
tauriedavis 2017-05-19 10:50:19 -07:00
parent 27eab8a4c3
commit 77a7094423
2 changed files with 6 additions and 1 deletions

View file

@ -61,7 +61,7 @@
= icon("trash-o")
- if branch.name != @repository.root_ref
.divergence-graph{ title: "#{number_commits_ahead} commits ahead, #{number_commits_behind} commits behind #{@repository.root_ref}" }
.divergence-graph{ title: "#{number_commits_behind} commits behind #{@repository.root_ref}, #{number_commits_ahead} commits ahead" }
.graph-side
.bar.bar-behind{ style: "width: #{number_commits_behind * bar_graph_width_factor}%" }
%span.count.count-behind= number_commits_behind

View file

@ -0,0 +1,5 @@
---
title: Change order of commits ahead and behind on divergence graph for branch list
view
merge_request:
author: