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 Jan 4, 2024
1 parent 0ca72d3 commit b59a625
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
show_close_btn: true
} only %}
{% endif %}
{% 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 @@ -88,10 +88,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 b59a625

Please sign in to comment.