aa4942a213
# Conflicts: # app/helpers/issuables_helper.rb # app/views/projects/_home_panel.html.haml # app/views/projects/commits/_commit.html.haml
18 lines
502 B
Text
18 lines
502 B
Text
- illustration = local_assigns.fetch(:illustration)
|
|
- illustration_size = local_assigns.fetch(:illustration_size)
|
|
- title = local_assigns.fetch(:title)
|
|
- content = local_assigns.fetch(:content, nil)
|
|
- action = local_assigns.fetch(:action, nil)
|
|
|
|
.row.empty-state
|
|
.col-12
|
|
.svg-content{ class: illustration_size }
|
|
= image_tag illustration
|
|
.col-12
|
|
.text-content
|
|
%h4.text-center= title
|
|
- if content
|
|
%p= content
|
|
- if action
|
|
.text-center
|
|
= action
|