debian-mirror-gitlab/app/helpers/builds_helper.rb
2016-11-03 12:29:30 +05:30

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