BigW Consortium Gitlab

Commit d089a1d2 by Annabel Dunstone Gray

Merge branch 'ce#32623-browser-tooltip-commits-branch-list' into 'master'

32623 Change order of commits ahead and behind on divergence graph for branch list Closes #32623 See merge request !11559
parents 6cc8a376 77a70944
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
= icon("trash-o") = icon("trash-o")
- if branch.name != @repository.root_ref - 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 .graph-side
.bar.bar-behind{ style: "width: #{number_commits_behind * bar_graph_width_factor}%" } .bar.bar-behind{ style: "width: #{number_commits_behind * bar_graph_width_factor}%" }
%span.count.count-behind= number_commits_behind %span.count.count-behind= number_commits_behind
......
---
title: Change order of commits ahead and behind on divergence graph for branch list
view
merge_request:
author:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment