Skip to content
Snippets Groups Projects
Commit aa372a2a authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Disable link to runner if it's not assigned to specific project: fixes 404...

Disable link to runner if it's not assigned to specific project: fixes 404 when clicking on available runner from project's page
parent 0261c8f1
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