debian-mirror-gitlab/app/views/projects/jobs/_empty_state.html.haml

19 lines
508 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- illustration = local_assigns.fetch(:illustration)
- illustration_size = local_assigns.fetch(:illustration_size)
- title = local_assigns.fetch(:title)
2018-05-09 12:01:36 +05:30
- content = local_assigns.fetch(:content, nil)
2018-03-17 18:26:18 +05:30
- action = local_assigns.fetch(:action, nil)
.row.empty-state
.col-xs-12
.svg-content{ class: illustration_size }
= image_tag illustration
.col-xs-12
.text-content
%h4.text-center= title
2018-05-09 12:01:36 +05:30
- if content
%p= content
2018-03-17 18:26:18 +05:30
- if action
.text-center
= action