diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-06-03 17:26:28 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-06-03 17:26:28 +0300 |
commit | a59854bcb337e429f2cab020246dc6c8ac77c988 (patch) | |
tree | 8de74fd288534a87a80f5b6f1dff67fff3e92eb4 | |
parent | 54bd76399ddf5fb925df01d9f86ed020c475b3ba (diff) | |
download | gitlab-ci-a59854bcb337e429f2cab020246dc6c8ac77c988.tar.gz |
link to runner from build page
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/views/builds/show.html.haml | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,7 @@ v7.12.0 - Add notification if there are no runners - Fix pagination on dashboard - Remove ID column from runners list in the admin area + - Link to the runner from the build page for admin user v7.11.0 - Deploy Jobs API calls diff --git a/app/views/builds/show.html.haml b/app/views/builds/show.html.haml index afca8ce..39016c7 100644 --- a/app/views/builds/show.html.haml +++ b/app/views/builds/show.html.haml @@ -109,7 +109,9 @@ #{time_ago_in_words(@build.finished_at)} ago %p %span.attr-name Runner: - - if @build.runner + - if @build.runner && current_user.is_admin + \#{link_to "##{@build.runner.id}", admin_runner_path(@build.runner.id)} + - elsif @build.runner \##{@build.runner.id} .build-widget |