gitlab-org--gitlab-foss/app/helpers/builds_helper.rb
2016-10-18 08:29:29 -05:00

8 lines
218 B
Ruby

module BuildsHelper
def sidebar_build_class(build, current_build)
build_class = ''
build_class += ' active' if build == current_build
build_class += ' retried' if build.retried?
build_class
end
end