Skip to content

Commit be06f06

Browse files
OstafinLpawlakadrian
authored andcommitted
IBX-10426: [User] Header inconsistency when editing user in UDW]
1 parent 23e732b commit be06f06

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bundle/Resources/views/themes/admin/ui/edit_header.html.twig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{% trans_default_domain 'ibexa_content_edit' %}
2+
3+
{% set content = content|default(null) %}
24
{% set show_extra_bottom_content = show_extra_bottom_content|default(false) %}
5+
{% set is_user_content_type = content_type is defined and content_type.identifier in ibexa_admin_ui_config.userContentTypes %}
36

47
<div class="ibexa-edit-header {{ show_extra_bottom_content ? 'ibexa-edit-header--has-extra-content' }}">
58
<div class="ibexa-edit-header__container">
@@ -52,7 +55,7 @@
5255
<div class="ibexa-edit-header__subtitle">{{ subtitle }}</div>
5356
{% endif %}
5457

55-
{% if content is defined and content is not null %}
58+
{% if content is not null and not is_user_content_type %}
5659
<div class="ibexa-edit-header__meta">
5760
<div class="ibexa-edit-header__meta-item">
5861
<svg class="ibexa-icon ibexa-icon--tiny-small">

0 commit comments

Comments
 (0)