diff --git a/src/bundle/Resources/views/user_settings/list.html.twig b/src/bundle/Resources/views/user_settings/list.html.twig index fbf483c..e5adb01 100644 --- a/src/bundle/Resources/views/user_settings/list.html.twig +++ b/src/bundle/Resources/views/user_settings/list.html.twig @@ -3,77 +3,49 @@ {% trans_default_domain 'user_settings' %} {%- block content -%} -
-
- {% for user_setting in pager %} -
-
{{ user_setting.name }}
-
- - - {% if user_setting.description is not empty %} - - - - - - {% endif %} - - - - - - -
{{ user_setting.description }}
- {{ value_definitions[user_setting.identifier].getDisplayValue(user_setting.value)|raw }} - - - - - - -
- {% endfor %} - - {% if pager.haveToPaginate %} -
- - {{ 'pagination.viewing'|trans({ - '%viewing%': pager.currentPageResults|length, - '%total%': pager.nbResults}, 'pagination')|desc('Viewing %viewing% out of %total% items')|raw }} - -
-
- {{ pagerfanta(pager, 'ez') }} -
+ {% for user_setting in pager %} +

{{ user_setting.name }}

+ {% if user_setting.description is not empty %} +

{{ user_setting.description }}

{% endif %} -
-
-
-
{{ 'my_account_settings.password.title'|trans|desc('Password') }}
-
- - +
+ + + + + +
+ {{ value_definitions[user_setting.identifier].getDisplayValue(user_setting.value)|raw }} + + + {{ 'list.action.edit'|trans|desc('Edit') }} + +
+ {% endfor %} + + {% if pager.haveToPaginate %} + {{ 'pagination.viewing'|trans({ + '%viewing%': pager.currentPageResults|length, + '%total%': pager.nbResults}, 'pagination')|desc('Viewing %viewing% out of %total% items')|raw }} + {{ pagerfanta(pager, 'ez') }} + {% endif %} + +

{{ 'my_account_settings.password.title'|trans|desc('Password') }}

+ + - - -
{{ 'my_account_settings.password.description'|trans|desc('Current password') }} + - - - + href="{{ path('ezplatform.user_profile.change_password') }}"> + {{ 'my_account_settings.password.action.edit'|trans|desc('Edit') }}
-
-
+ + {%- endblock content -%}