Commit bfe2259b authored by Annabel Dunstone's avatar Annabel Dunstone

Update CSS selector and play icon

parent 4e66551a
......@@ -298,7 +298,7 @@
width: 150px;
margin-bottom: 10px;
&.deployable {
&.playable {
background-color: $gray-light;
}
......
......@@ -39,14 +39,14 @@ module CiStatusHelper
when 'running'
'icon_status_running'
when 'play'
'play'
return icon('play fw')
when 'created'
'icon_status_pending'
else
'icon_status_cancel'
end
status == 'play' ? icon(icon_name + ' fw') : custom_icon(icon_name)
custom_icon(icon_name)
end
def render_commit_status(commit, tooltip_placement: 'auto left')
......
%li.build{class: ("deployable" if subject.playable? && can?(current_user, :update_build, @project))}
%li.build{class: ("playable" if subject.playable? && can?(current_user, :update_build, @project))}
.build-content
- if subject.playable? && can?(current_user, :update_build, @project)
= link_to play_namespace_project_build_path(subject.project.namespace, subject.project, subject, return_to: request.original_url), method: :post, title: 'Play' do
......
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