summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-05 18:17:28 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-05 18:17:28 +0000
commit02c168402655ae1a1e5c98045bf0aa69eb6844d7 (patch)
tree1152aaf57b003c23d7609cb615a36deb142ee4e0 /app/views
parentda6af70a22ad34f76923fc8b0c5a1309e0ec541e (diff)
downloadgitlab-ce-02c168402655ae1a1e5c98045bf0aa69eb6844d7.tar.gz
Fix broken template
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/jobs/_empty_state.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/jobs/_empty_state.html.haml b/app/views/projects/jobs/_empty_state.html.haml
index 8f44628a5c3..07c16822ff2 100644
--- a/app/views/projects/jobs/_empty_state.html.haml
+++ b/app/views/projects/jobs/_empty_state.html.haml
@@ -1,8 +1,8 @@
-- illustration = locals.fetch(:illustration)
-- illustration_size = locals.fetch(:illustration_size)
-- title = locals.fetch(:title)
-- content = locals.fetch(:content)
-- action = locals.fetch(:action)
+- illustration = local_assigns.fetch(:illustration)
+- illustration_size = local_assigns.fetch(:illustration_size)
+- title = local_assigns.fetch(:title)
+- content = local_assigns.fetch(:content)
+- action = local_assigns.fetch(:action)
.row.empty-state
.col-xs-12
@@ -12,6 +12,6 @@
.text-content
%h4.text-center= title
%p= content
- - if action?
+ - if action
.text-center
= action