summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 13:51:29 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 17:29:18 +0200
commitd9e2232f6393a1627847c9f6c2be3c4f987d0797 (patch)
tree49810efcee3548b6d53adb2626aeea10064aa7fb
parent16bfd9d31a4e79e68591ba85428384512a93b680 (diff)
downloadgitlab-ce-show_pending_warning.tar.gz
Fix warning signshow_pending_warning
-rw-r--r--app/helpers/runners_helper.rb2
-rw-r--r--app/views/projects/builds/show.html.haml2
-rw-r--r--app/views/projects/commit_statuses/_commit_status.html.haml7
3 files changed, 5 insertions, 6 deletions
diff --git a/app/helpers/runners_helper.rb b/app/helpers/runners_helper.rb
index f79fef03ae8..5afebab88e1 100644
--- a/app/helpers/runners_helper.rb
+++ b/app/helpers/runners_helper.rb
@@ -4,7 +4,7 @@ module RunnersHelper
case status
when :not_connected
content_tag :i, nil,
- class: "fa fa-warning-sign",
+ class: "fa fa-warning",
title: "New runner. Has not connected yet"
when :online, :offline, :paused
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml
index 70a93eb5976..91c1b16c9f6 100644
--- a/app/views/projects/builds/show.html.haml
+++ b/app/views/projects/builds/show.html.haml
@@ -25,7 +25,7 @@
%a
Build ##{@build.id}
&middot;
- %i.fa.fa-warning-sign
+ %i.fa.fa-warning
This build was retried.
.gray-content-block.second-block
diff --git a/app/views/projects/commit_statuses/_commit_status.html.haml b/app/views/projects/commit_statuses/_commit_status.html.haml
index 99fdde45402..637154f56aa 100644
--- a/app/views/projects/commit_statuses/_commit_status.html.haml
+++ b/app/views/projects/commit_statuses/_commit_status.html.haml
@@ -2,10 +2,6 @@
%td.status
= ci_status_with_icon(commit_status.status)
- - if commit_status.show_warning?
- .pull-right
- %i.fa.fa-warning-sign.text-warning
-
%td.commit_status-link
- if commit_status.target_url
= link_to commit_status.target_url do
@@ -13,6 +9,9 @@
- else
%strong Build ##{commit_status.id}
+ - if commit_status.show_warning?
+ %i.fa.fa-warning.text-warning
+
%td
= commit_status.ref