diff options
author | Grzegorz Bizon <grzegorz.bizon@ntsn.pl> | 2016-02-02 14:23:10 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-19 19:24:59 +0300 |
commit | ede451c851f2bc5f445a1ff7a418735f4a98405f (patch) | |
tree | 2d5d41b43f58de707051d6be3663b707ed729003 /app/views/projects/builds | |
parent | 2c7f36f43072dcffca13c7e248f8df1bf226ce1a (diff) |
Show information indicating that build has been erased
Diffstat (limited to 'app/views/projects/builds')
-rw-r--r-- | app/views/projects/builds/show.html.haml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml index 4dcac0de67a..32dd146b4b9 100644 --- a/app/views/projects/builds/show.html.haml +++ b/app/views/projects/builds/show.html.haml @@ -76,10 +76,15 @@ = link_to '#down-build-trace', class: 'btn' do %i.fa.fa-angle-down - %pre.trace#build-trace - %code.bash - = preserve do - = raw @build.trace_html + - unless @build.erased? + %pre.trace#build-trace + %code.bash + = preserve do + = raw @build.trace_html + - else + .erased.alert.alert-warning + Build has been erased by #{@build.erased_by.username} #{time_ago_with_tooltip(@build.created_at)} + %div#down-build-trace .col-md-3 |