summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG1
-rw-r--r--app/views/runners/_runner.html.haml4
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 6631d52..8cbfefe 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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
diff --git a/app/views/runners/_runner.html.haml b/app/views/runners/_runner.html.haml
index 1d88d69..02424f5 100644
--- a/app/views/runners/_runner.html.haml
+++ b/app/views/runners/_runner.html.haml
@@ -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)