do not prepend relative_url_root to avatar
The commit.author.icon variable contains a full URL, which gets broken when prepended by the relative_url_root setting (generating hrefs like "/gitlabhttps://...".
This commit is contained in:
parent
e883aae0e7
commit
f2a817f040
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class @BranchGraph
|
|||
stroke: @colors[commit.space]
|
||||
"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(
|
||||
"text-anchor": "start"
|
||||
font: "14px Monaco, monospace"
|
||||
|
|
Loading…
Reference in a new issue