Skip to content

Commit

Permalink
IBX-5518: Fix status badge in order details
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Apr 18, 2023
1 parent 04a7013 commit 21be007
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/bundle/Resources/views/themes/admin/ui/page_title.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
<div class="ibexa-page-title__top">
<h1 class="ibexa-page-title__title">
{{ title }}
{% if tag is defined %}
{% set attr = tag_attr|default({})|merge({
class: (tag_attr.class|default('')
~ ' ibexa-badge ' ~ tag_extra_classes|default('')
)|trim,
}) %}
{% block tag %}
{% if tag is defined %}
{% set attr = tag_attr|default({})|merge({
class: (tag_attr.class|default('')
~ ' ibexa-badge ' ~ tag_extra_classes|default('')
)|trim,
}) %}

<div {{ html.attributes(attr) }}>
{{ tag }}
</div>
{% endif %}
<div {{ html.attributes(attr) }}>
{{ tag }}
</div>
{% endif %}
{% endblock %}
</h1>
{% block top_side %}{% endblock %}
</div>
Expand Down

0 comments on commit 21be007

Please # to comment.