diff --git a/src/new/src/PSC/Shop/ContactBundle/Resources/views/backend/list/index.html.twig b/src/new/src/PSC/Shop/ContactBundle/Resources/views/backend/list/index.html.twig index 2785db8e5..9c672ea4f 100755 --- a/src/new/src/PSC/Shop/ContactBundle/Resources/views/backend/list/index.html.twig +++ b/src/new/src/PSC/Shop/ContactBundle/Resources/views/backend/list/index.html.twig @@ -1,97 +1,134 @@ -{% extends 'backend_base.html.twig' %} +{% extends 'backend_tailwind_base.html.twig' %} +{% form_theme form 'tailwind_formtheme.html.twig' %} {% trans_default_domain 'core_contact_list' %} -{% block body %} -
| {{ knp_pagination_sortable(pagination, 'Uid', 'contact.uid') }} | -{{ knp_pagination_sortable(pagination, 'Loginname'|trans, 'contact.username') }} | -{{ knp_pagination_sortable(pagination, 'generated'|trans, 'contact.createdAt') }} | -{{ knp_pagination_sortable(pagination, 'changed'|trans, 'contact.updatedAt') }} | -{{ knp_pagination_sortable(pagination, 'firstname'|trans, 'contact.selffirstname') }} | -{{ knp_pagination_sortable(pagination, 'lastname'|trans, 'contact.lastname') }} | -{{ knp_pagination_sortable(pagination, 'street'|trans, 'contact.street') }}/{{ knp_pagination_sortable(pagination, 'housenumber'|trans, 'contact.houseNumber') }} | -{{ knp_pagination_sortable(pagination, 'zip'|trans, 'contact.zip') }} | -{{ knp_pagination_sortable(pagination, 'city'|trans, 'contact.city') }} | -{{ 'virtual'|trans }} | -{{ 'shops'|trans }} | -- |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ contact.id }} | -{{ contact.username }} | -{{ contact.createdAt|date('d.m.Y') }} | -{{ contact.updatedAt|date('d.m.Y') }} | -{{ contact.firstname }} | -{{ contact.lastname }} | -{{ contact.street }} {{ contact.houseNumber }} | -{{ contact.zip }} | -{{ contact.city }} | -{% if contact.virtual == 1 %}{{ 'yes'|trans }}{% else %}{{ 'no'|trans }}{% endif %} | -{% if contact.shops|length > 1 %} - - {{ 'yes'|trans }} - - {% for shop in contact.shops %} - {{ shop.title }} - {% endfor %} - {% else %} - {{ 'no'|trans }} - {% endif %} | -- | -
| {{ knp_pagination_sortable(pagination, 'Uid', 'contact.uid') }} | +{{ knp_pagination_sortable(pagination, 'Loginname'|trans, 'contact.username') }} | +{{ knp_pagination_sortable(pagination, 'generated'|trans, 'contact.createdAt') }} | +{{ knp_pagination_sortable(pagination, 'changed'|trans, 'contact.updatedAt') }} | +{{ knp_pagination_sortable(pagination, 'firstname'|trans, 'contact.selffirstname') }} | +{{ knp_pagination_sortable(pagination, 'lastname'|trans, 'contact.lastname') }} | +{{ knp_pagination_sortable(pagination, 'street'|trans, 'contact.street') }}/{{ knp_pagination_sortable(pagination, 'housenumber'|trans, 'contact.houseNumber') }} | +{{ knp_pagination_sortable(pagination, 'zip'|trans, 'contact.zip') }} | +{{ knp_pagination_sortable(pagination, 'city'|trans, 'contact.city') }} | +{{ 'virtual'|trans }} | +{{ 'shops'|trans }} | +Aktionen | +
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ contact.id }} | ++ {{ contact.username }} + | +{{ contact.createdAt|date('d.m.Y') }} | +{{ contact.updatedAt|date('d.m.Y') }} | +{{ contact.firstname }} | +{{ contact.lastname }} | +{{ contact.street }} {{ contact.houseNumber }} | +{{ contact.zip }} | +{{ contact.city }} | ++ {% if contact.virtual == 1 %} + {{ 'yes'|trans }} + {% else %} + {{ 'no'|trans }} + {% endif %} + | +
+ {% if contact.shops|length > 1 %}
+
+ {% for shop in contact.shops %}
+ {{ shop.title }}
+ {% endfor %}
+
+ {% else %}
+ {{ 'no'|trans }}
+ {% endif %}
+ |
+
+
+
+
+
+
+ |
+