Commit ad320577 authored by Annabel Dunstone's avatar Annabel Dunstone

Add unclickable state to running build artifacts

parent 1501b1ab
...@@ -176,6 +176,12 @@ ...@@ -176,6 +176,12 @@
.separator + .dropdown-header { .separator + .dropdown-header {
padding-top: 2px; padding-top: 2px;
} }
.unclickable {
cursor: not-allowed;
padding: 5px 8px;
color: $dropdown-header-color;
}
} }
.dropdown-menu-large { .dropdown-menu-large {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
- unless pipeline.latest? - unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(branch.name) - latest_pipeline = @project.pipeline_for(branch.name)
%li %li
%span= ci_status_for_statuseable(latest_pipeline) .unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts %li.dropdown-header Previous Artifacts
- artifacts.each do |job| - artifacts.each do |job|
%li %li
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
- unless pipeline.latest? - unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(@ref) - latest_pipeline = @project.pipeline_for(@ref)
%li %li
%span= ci_status_for_statuseable(latest_pipeline) .unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts %li.dropdown-header Previous Artifacts
- artifacts.each do |job| - artifacts.each do |job|
%li %li
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
- unless pipeline.latest? - unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(ref) - latest_pipeline = @project.pipeline_for(ref)
%li %li
%span= ci_status_for_statuseable(latest_pipeline) .unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts %li.dropdown-header Previous Artifacts
- artifacts.each do |job| - artifacts.each do |job|
%li %li
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
- unless pipeline.latest? - unless pipeline.latest?
- latest_pipeline = project.pipeline_for(ref) - latest_pipeline = project.pipeline_for(ref)
%li %li
%span= ci_status_for_statuseable(latest_pipeline) .unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts %li.dropdown-header Previous Artifacts
- artifacts.each do |job| - artifacts.each do |job|
%li %li
......
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