Skip to content

Commit 2119b6f

Browse files
committed
Cleaned up
1 parent 2c72dda commit 2119b6f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

config/sync/language/da/views.view.front.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ display:
1212
separator: ", "
1313
title:
1414
alter:
15-
text: "<h4>{{ title }}</h4>\r\n{{ field_description }}"
15+
text: "<div class=\"inline-flex items-center\">\r\n{% include '@itkdev_project_theme/components/badge.html.twig' with { label: status != '1' ? 'Not published'|trans, additional_class_names: 'mr-3' } %}\r\n<h4>{{ title }}</h4>\r\n</div>\r\n{{ field_description }}"
1616
separator: ", "
1717
field_project_state:
1818
separator: ", "

config/sync/views.view.front.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ display:
236236
exclude: false
237237
alter:
238238
alter_text: true
239-
text: "<h4>{{ title }}</h4>\r\n{# @todo Do we want to show this?\r\n{% if status != '1' %}<div class=\"project-status not-published\">{{ 'Not published'|trans }}</div>{% endif %}\r\n#}\r\n{{ field_description }}"
239+
text: "<div class=\"inline-flex items-center\">\r\n{% include '@itkdev_project_theme/components/badge.html.twig' with { label: status != '1' ? 'Not published'|trans, additional_class_names: 'mr-3' } %}\r\n<h4>{{ title }}</h4>\r\n</div>\r\n{{ field_description }}"
240240
make_link: false
241241
path: ""
242242
absolute: false

0 commit comments

Comments
 (0)