提交 ad320577 编写于 作者: A Annabel Dunstone

Add unclickable state to running build artifacts

上级 1501b1ab
......@@ -176,6 +176,12 @@
.separator + .dropdown-header {
padding-top: 2px;
}
.unclickable {
cursor: not-allowed;
padding: 5px 8px;
color: $dropdown-header-color;
}
}
.dropdown-menu-large {
......
......@@ -42,7 +42,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(branch.name)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li
......
......@@ -22,7 +22,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(@ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li
......
......@@ -33,7 +33,7 @@
- unless pipeline.latest?
- latest_pipeline = @project.pipeline_for(ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li
......
......@@ -20,7 +20,7 @@
- unless pipeline.latest?
- latest_pipeline = project.pipeline_for(ref)
%li
%span= ci_status_for_statuseable(latest_pipeline)
.unclickable= ci_status_for_statuseable(latest_pipeline)
%li.dropdown-header Previous Artifacts
- artifacts.each do |job|
%li
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册