Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Commit

Permalink
Merge branch 'runner_link' into 'master'
Browse files Browse the repository at this point in the history
Link to the runner from the build page

https://dev.gitlab.org/gitlab/gitlab-ci/issues/240

See merge request !115
  • Loading branch information
vsizov committed Jun 3, 2015
2 parents c26af87 + a59854b commit a2921bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -5,6 +5,7 @@ v7.12.0
- Remove ID column from runners list in the admin area
- Increase default timeout for builds to 60 minutes
- Using .gitlab-ci.yml file instead of jobs
- Link to the runner from the build page for admin user

v7.11.0
- Deploy Jobs API calls
Expand Down
4 changes: 3 additions & 1 deletion app/views/builds/show.html.haml
Expand Up @@ -104,7 +104,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
Expand Down

0 comments on commit a2921bd

Please sign in to comment.