Skip to content

Commit e83a8d0

Browse files
alekmickjuskora
authored andcommitted
IBX-10776, IBX-11592: Fixed view of single tab and fixed language tab
1 parent c756be1 commit e83a8d0

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/bundle/Resources/views/themes/admin/language/tab/languages.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% form_theme form_languages_delete '@ibexadesign/ui/form_fields.html.twig' %}
66

7-
<section class="container ibexa-container">
7+
<section>
88
{% set body_rows = [] %}
99
{% for language in pager.currentPageResults %}
1010
{% set body_row_cols = [] %}

src/bundle/Resources/views/themes/admin/ui/component/tab/tabs.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@
3737
</div>
3838
{% elseif tabs|length == 1 %}
3939
{% set single_tab = tabs|first %}
40-
{{ single_tab.content|default('')|raw }}
40+
<div class="container ibexa-container">
41+
{{ single_tab.content|default('')|raw }}
42+
</div>
4143
{% endif %}

src/bundle/Resources/views/themes/admin/ui/tab/languages.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
}) %}
77
{% include '@ibexadesign/ui/component/tab/tabs.html.twig' with {
88
tabs: tabs_to_show,
9+
hide_toggler: true,
910
} %}
1011

1112
{% block javascripts %}

0 commit comments

Comments
 (0)