Commit 5615f273 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix rubocop issues

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 696a7084
...@@ -44,8 +44,10 @@ module CiStatusHelper ...@@ -44,8 +44,10 @@ module CiStatusHelper
end end
def render_ci_status(ci_commit) def render_ci_status(ci_commit)
link_to ci_status_path(ci_commit), class: "c#{ci_status_color(ci_commit)}", link_to ci_status_path(ci_commit),
title: "Build status: #{ci_commit.status}", data: {toggle: 'tooltip', placement: 'left'} do class: "c#{ci_status_color(ci_commit)}",
title: "Build status: #{ci_commit.status}",
data: { toggle: 'tooltip', placement: 'left' } do
ci_status_icon(ci_commit) ci_status_icon(ci_commit)
end end
end end
......
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