diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-20 15:19:55 +0200 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-30 12:22:55 +0200 |
commit | 7dfb204ef9d343888e2fd8327c5a5348b98a76ce (patch) | |
tree | 35d1760ca664f9e9a029516eaef7b459a4b7aa84 /app/views/ci/lints | |
parent | e26953bc4bc7c9522258f201b175c60fd6c0b2a2 (diff) | |
download | gitlab-ce-7dfb204ef9d343888e2fd8327c5a5348b98a76ce.tar.gz |
Expose jobs to view
Diffstat (limited to 'app/views/ci/lints')
-rw-r--r-- | app/views/ci/lints/_create.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/ci/lints/_create.html.haml b/app/views/ci/lints/_create.html.haml index 733c5d0b7fe..342259226a2 100644 --- a/app/views/ci/lints/_create.html.haml +++ b/app/views/ci/lints/_create.html.haml @@ -21,13 +21,13 @@ %br %b Tag list: - = build[:tag_list] && build[:tag_list].join(", ") + = build[:tag_list] && build[:tag_list].to_a.join(", ") %br %b Refs only: - = build[:only] && build[:only].join(", ") + = @jobs[build[:name].to_sym][:only] && @jobs[build[:name].to_sym][:only].to_a.join(", ") %br %b Refs except: - = build[:except] && build[:except].join(", ") + = @jobs[build[:name].to_sym][:except] && @jobs[build[:name].to_sym][:except].to_a.join(", ") %br %b Environment: = build[:environment] |