Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
77a70944
Commit
77a70944
authored
May 19, 2017
by
tauriedavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
32623 Change order of commits ahead and behind on divergence graph for branch list
parent
27eab8a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+1
-1
changelogs/unreleased/ce-32623-browser-tooltip-commits-branch-list.yml
...released/ce-32623-browser-tooltip-commits-branch-list.yml
+5
-0
No files found.
app/views/projects/branches/_branch.html.haml
View file @
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
...
...
changelogs/unreleased/ce-32623-browser-tooltip-commits-branch-list.yml
0 → 100644
View file @
77a70944
---
title
:
Change order of commits ahead and behind on divergence graph for branch list
view
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment