Skip to content

Commit

Permalink
IBX-7121: Added asterisks in password user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Dębiński committed Dec 11, 2023
1 parent 3cb72e5 commit bbe7cb1
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{% endembed %}
{% embed '@ibexadesign/ui/component/tab/tab_pane.html.twig' with { id: 'my-account-settings' } %}
{% block content %}
{% set actions %}
{% set headline_items %}
<a
href="{{ path('ibexa.user_profile.change_password') }}"
class="btn ibexa-btn ibexa-btn--ghost ibexa-btn--small"
Expand All @@ -78,10 +78,18 @@
</a>
{% endset %}

{% include '@ibexadesign/ui/component/table/table_header.html.twig' with {
{% set item = [{
label: 'my_account_settings.password.title'|trans|desc('Password'),
content: '**********'
}] %}

{% include '@ibexadesign/ui/component/details/details.html.twig' with {
headline: 'my_account_settings.password.title'|trans|desc('Password'),
actions,
} %}
headline_items: headline_items,
items: item,
view_mode: "vertical",
item_inline: true,
} only %}
{% endblock %}
{% endembed %}
{% endblock %}
Expand Down

0 comments on commit bbe7cb1

Please sign in to comment.