Skip to content

Commit 260a0b5

Browse files
mateuszdebinskiMateusz Dębiński
andauthored
IBX-7121: Added asterisks in password user settings (#1044)
Co-authored-by: Mateusz Dębiński <[email protected]>
1 parent 0ca72d3 commit 260a0b5

File tree

1 file changed

+12
-4
lines changed
  • src/bundle/Resources/views/themes/admin/account/settings

1 file changed

+12
-4
lines changed

src/bundle/Resources/views/themes/admin/account/settings/list.html.twig

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
show_close_btn: true
7474
} only %}
7575
{% endif %}
76-
{% set actions %}
76+
{% set headline_items %}
7777
<a
7878
href="{{ path('ibexa.user_profile.change_password') }}"
7979
class="btn ibexa-btn ibexa-btn--ghost ibexa-btn--small
@@ -88,10 +88,18 @@
8888
</a>
8989
{% endset %}
9090

91-
{% include '@ibexadesign/ui/component/table/table_header.html.twig' with {
91+
{% set item = [{
92+
label: 'my_account_settings.password.title'|trans|desc('Password'),
93+
content: '**********'
94+
}] %}
95+
96+
{% include '@ibexadesign/ui/component/details/details.html.twig' with {
9297
headline: 'my_account_settings.password.title'|trans|desc('Password'),
93-
actions,
94-
} %}
98+
headline_items: headline_items,
99+
items: item,
100+
view_mode: "vertical",
101+
item_inline: true,
102+
} only %}
95103
{% endblock %}
96104
{% endembed %}
97105
{% endblock %}

0 commit comments

Comments
 (0)