{% extends 'AdminBundle:Admin:adminLayout.html.twig' %} {% block breadcrumb %} {{ backendHelpers.breadcrumb({ ("user.titles.users home"|trans) : (path(paths.home)), ("user.titles.users"|trans) : (path(paths.index)), ("admin.titles.show"|trans) : '' }) }} {% endblock %} {% block content %} {{ backendHelpers.pageTitle( "user.titles.user"|trans ) }}
{{ backendHelpers.addActionButton(path(paths.edit, { 'id': entity.id }), paths.edit, ('admin.titles.edit'|trans), 'btn-info', 'icon-edit' )}} {{ backendHelpers.addActionButton(path(paths.new), paths.new, ('admin.titles.add'|trans), 'btn-success', 'icon-plus' )}} {{ backendHelpers.addActionButton(path(paths.index), paths.index, ('admin.titles.list'|trans), 'btn-light', 'icon-list' )}}
{% if entity.imageName and entity.imageFile %} {% endif %} {% if entity.userProfile.sex is defined %} {% endif %} {% if entity.userProfile.birthdate is defined %} {% endif %} {% if entity.userProfile.country is defined %} {% endif %} {% if entity.userProfile.city is defined %} {% endif %} {% if entity.userProfile.religion is defined %} {% endif %} {% if entity.userProfile.interestingList is defined %} {% endif %} {% if entity.userProfile.locale is defined %} {% endif %} {% if entity.userProfile.mobile is defined %} {% endif %} {% if entity.userProfile.avatar is defined and entity.userProfile.avatar is not null %} {% endif %}
{{"user.titles.image"|trans}} {{ entity.realName }}
{{"user.titles.id"|trans}} {{ entity.id }}
{{"user.titles.real name"|trans}} {{ entity.realName }}
{{"user.titles.username"|trans}} {{ entity.username }}
{{"user.titles.email address"|trans}} {{ entity.email }}
{{"user.titles.enabled"|trans}} {%if entity.enabled%}
{%else%}
{%endif%}
{{"user.titles.user groups"|trans}} {%if entity.groups|length%}
    {%for group in entity.groups%}
  • {{ group.name }}
  • {%endfor%}
{%endif%}
{{"userprofile.titles.sex"|trans}} {{ entity.userProfile.sex }}
{{"userprofile.titles.birthdate"|trans}} {{ entity.userProfile.birthdate | date("Y-m-d") }}
{{"userprofile.titles.country"|trans}} {{ entity.userProfile.country }}
{{"userprofile.titles.city"|trans}} {{ entity.userProfile.city }}
{{"userprofile.titles.religion"|trans}} {{ entity.userProfile.religion }}
{{"userprofile.titles.interestingList"|trans}} {{ entity.userProfile.interestingList }}
{{"userprofile.titles.locale"|trans}} {{ entity.userProfile.locale }}
{{"userprofile.titles.mobile"|trans}} {{ entity.userProfile.mobile }}
{{"userprofile.titles.avatar"|trans}} {% if entity.userProfile.avatar is not null %} {{ entity.userProfile.avatar.title }} {% endif %}
{% endblock %}