Skip to content
Snippets Groups Projects
Commit 9b6e7a17 authored by Kamil Trzciński's avatar Kamil Trzciński
Browse files

Merge branch 'runner-link' into 'master'

Disable link to runner if it's not assigned to specific project

Fixes 404 when clicking on available runner from project's page

/cc @vsizov

See merge request !196
parents 0261c8f1 aa372a2a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,6 +12,7 @@ v7.13.0
- Allow to specify allow_failure for job
- Build traces is stored in the file instead of database
- Make the builds path configurable
- Disable link to runner if it's not assigned to specific project
 
v7.12.2
- Revert: Runner without tag should pick builds without tag only
Loading
Loading
Loading
Loading
@@ -2,11 +2,13 @@
%h4
= runner_status_icon(runner)
%span.monospace
= link_to runner.short_sha, [@project, runner]
- if @runners.include?(runner)
= link_to runner.short_sha, [@project, runner]
%small
=link_to edit_project_runner_path(@project, runner) do
%i.fa.icon-edit.btn
- else
= runner.short_sha
 
.pull-right
- if @runners.include?(runner)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment