Commit c6ed5230 authored by Marin Jankovski's avatar Marin Jankovski

Revert "Merge pull request #6720 from thmo/6-7-stable"

This reverts commit e6707f6f, reversing
changes made to f88d30fa.
parent e6707f6f
...@@ -201,7 +201,7 @@ class BranchGraph ...@@ -201,7 +201,7 @@ class BranchGraph
stroke: @colors[commit.space] stroke: @colors[commit.space]
"stroke-width": 2 "stroke-width": 2
) )
r.image(gon.relative_url_root + commit.author.icon, avatar_box_x, avatar_box_y, 20, 20) r.image(commit.author.icon, avatar_box_x, avatar_box_y, 20, 20)
r.text(@offsetX + @unitSpace * @mspace + 35, y, commit.message.split("\n")[0]).attr( r.text(@offsetX + @unitSpace * @mspace + 35, y, commit.message.split("\n")[0]).attr(
"text-anchor": "start" "text-anchor": "start"
font: "14px Monaco, monospace" font: "14px Monaco, monospace"
...@@ -274,7 +274,7 @@ class BranchGraph ...@@ -274,7 +274,7 @@ class BranchGraph
Raphael::commitTooltip = (x, y, commit) -> Raphael::commitTooltip = (x, y, commit) ->
boxWidth = 300 boxWidth = 300
boxHeight = 200 boxHeight = 200
icon = @image(gon.relative_url_root + commit.author.icon, x, y, 20, 20) icon = @image(commit.author.icon, x, y, 20, 20)
nameText = @text(x + 25, y + 10, commit.author.name) nameText = @text(x + 25, y + 10, commit.author.name)
idText = @text(x, y + 35, commit.id) idText = @text(x, y + 35, commit.id)
messageText = @text(x, y + 50, commit.message) messageText = @text(x, y + 50, commit.message)
......
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