From 02c168402655ae1a1e5c98045bf0aa69eb6844d7 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Fri, 5 Jan 2018 18:17:28 +0000 Subject: [PATCH] Fix broken template --- app/views/projects/jobs/_empty_state.html.haml | 12 ++++++------ 1 file 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