V-Beta-1.0.0
Vision is out of alpha !
This commit is contained in:
20
templates/user/documents.html.twig
Normal file
20
templates/user/documents.html.twig
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}title_users_documents{% endtrans %}{% endblock %}
|
||||
{% block subtitle %}{% trans %}title_users_documents{% endtrans %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<h2>{% trans %}title_documents{% endtrans %}</h2>
|
||||
<hr>
|
||||
{% include '_cells/documentTable.html.twig' with {'documents': pagination} %}
|
||||
<div class="row">{{ knp_pagination_render(pagination) }}</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>{% trans %}title_informations{% endtrans %}</h2>
|
||||
<hr>
|
||||
{% include '_cells/userInformations.html.twig' with {'user': user} %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
20
templates/user/list.html.twig
Normal file
20
templates/user/list.html.twig
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}title_users_book{% endtrans %}{% endblock %}
|
||||
{% block subtitle %}{% trans %}title_users_book{% endtrans %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row">
|
||||
<div class="col-lg-5">
|
||||
{{form(searchForm)}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
{% include '_cells/userTable.html.twig' with {'users': pagination} %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{ knp_pagination_render(pagination) }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
20
templates/user/sanctions.html.twig
Normal file
20
templates/user/sanctions.html.twig
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}title_users_sanctions{% endtrans %}{% endblock %}
|
||||
{% block subtitle %}{% trans %}title_users_sanctions{% endtrans %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<h2>{% trans %}title_sanctions{% endtrans %}</h2>
|
||||
<hr>
|
||||
{% include '_cells/documentTable.html.twig' with {'documents': pagination} %}
|
||||
<div class="row">{{ knp_pagination_render(pagination) }}</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>{% trans %}title_informations{% endtrans %}</h2>
|
||||
<hr>
|
||||
{% include '_cells/userInformations.html.twig' with {'user': user} %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
22
templates/user/view.html.twig
Normal file
22
templates/user/view.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}title_user_profile{% endtrans %}{% endblock %}
|
||||
{% block subtitle %}{{ user.fullName }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-4 mb-5">
|
||||
<h2>{% trans %}title_informations{% endtrans %}</h2>
|
||||
<hr>
|
||||
{% include '_cells/userInformations.html.twig' with {'user': user} %}
|
||||
</div>
|
||||
<div class="col-12 col-lg-4">
|
||||
<h2>{% trans %}title_actions{% endtrans %}</h2>
|
||||
<hr>
|
||||
<p><a href="{{ path('user_view_documents', {'id': user.id}) }}" class="btn btn-success">{% trans %}button_view_user_documents{% endtrans %}</a></p>
|
||||
{% if app.user.hasPermission('group_sanction') %}
|
||||
<p><a href="{{ path('user_view_sanctions', {'id': user.id}) }}" class="btn btn-warning">{% trans %}button_view_user_sanctions{% endtrans %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user