diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-08-30 13:48:22 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-18 08:29:29 -0500 |
commit | 5dcb57e5ec76ea04ee5175b826226f843633a19b (patch) | |
tree | 4f9e40de9e44b37190f181e6254b42799f0e44c6 | |
parent | eb541b4fd98d41314919a10845b6162e7a8abdf8 (diff) | |
download | gitlab-ce-5dcb57e5ec76ea04ee5175b826226f843633a19b.tar.gz |
Add tooltip icon to retried builds
-rw-r--r-- | app/assets/stylesheets/pages/builds.scss | 2 | ||||
-rw-r--r-- | app/views/projects/builds/_sidebar.html.haml | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss index 2fbf0cf34bf..a7b23a24e58 100644 --- a/app/assets/stylesheets/pages/builds.scss +++ b/app/assets/stylesheets/pages/builds.scss @@ -195,7 +195,7 @@ .build-job { position: relative; - .fa { + .fa-check { position: absolute; left: 15px; top: 20px; diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml index 966633f1f89..2c77d438048 100644 --- a/app/views/projects/builds/_sidebar.html.haml +++ b/app/views/projects/builds/_sidebar.html.haml @@ -135,11 +135,5 @@ = build.name - else = build.id - - - if @build.retried? - %li.active - %a - Build ##{@build.id} - · - %i.fa.fa-warning - This build was retried. + - if @build.retried? + %i.fa.fa-warning.has-tooltip{data: { container: 'body', placement: 'bottom' }, title: 'This build was retried'} |