Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-27 03:47:18 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-27 03:47:18 +0300
commit6afd69f4445cc0688aa1695389eb3f79033e3121 (patch)
tree729b58c8a0a7013e4166dca05e2e68adfe274a1d /app/helpers
parent046b28312704f3131e72dcd2dbdacc5264d4aa62 (diff)
Update gitignore, change literal DB table names, fix errors, fix fontawesome
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/ci/icons_helper.rb4
-rw-r--r--app/helpers/ci/runners_helper.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/ci/icons_helper.rb b/app/helpers/ci/icons_helper.rb
index ecb6ef7be45..be40f79e880 100644
--- a/app/helpers/ci/icons_helper.rb
+++ b/app/helpers/ci/icons_helper.rb
@@ -2,9 +2,9 @@ module Ci
module IconsHelper
def boolean_to_icon(value)
if value.to_s == "true"
- content_tag :i, nil, class: 'fa-circle cgreen'
+ content_tag :i, nil, class: 'fa fa-circle cgreen'
else
- content_tag :i, nil, class: 'fa-power-off clgray'
+ content_tag :i, nil, class: 'fa fa-power-off clgray'
end
end
end
diff --git a/app/helpers/ci/runners_helper.rb b/app/helpers/ci/runners_helper.rb
index 782208ddfe4..03c9914641e 100644
--- a/app/helpers/ci/runners_helper.rb
+++ b/app/helpers/ci/runners_helper.rb
@@ -3,7 +3,7 @@ module Ci
def runner_status_icon(runner)
unless runner.contacted_at
return content_tag :i, nil,
- class: "fa-warning-sign",
+ class: "fa fa-warning-sign",
title: "New runner. Has not connected yet"
end
@@ -15,7 +15,7 @@ module Ci
end
content_tag :i, nil,
- class: "fa-circle runner-status-#{status}",
+ class: "fa fa-circle runner-status-#{status}",
title: "Runner is #{status}, last contact was #{time_ago_in_words(runner.contacted_at)} ago"
end
end