See the README for current tweaks
This commit is contained in:
32
templates/pages/users.html.twig
Normal file
32
templates/pages/users.html.twig
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends "@admin/pages/users.html.twig" %}
|
||||
|
||||
{% block body_matter %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="widget-users" class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title pull-left"><i class="fas fa-fw fa-user"></i> {{translate('USER', 2)}}</h3>
|
||||
{% include "tables/table-tool-menu.html.twig" %}
|
||||
</div>
|
||||
<div class="box-body">
|
||||
{% include "tables/users.html.twig" with {
|
||||
"table" : {
|
||||
"id" : "table-users",
|
||||
"columns" : [
|
||||
(checkAccess('view_user_field', { "property" : 'activities' }) ? "last_activity" : "")
|
||||
]
|
||||
}
|
||||
}
|
||||
%}
|
||||
</div>
|
||||
{% if checkAccess('create_user') %}
|
||||
<div class="box-footer">
|
||||
<button type="button" class="btn btn-success js-user-create">
|
||||
<i class="fas fa-plus-square"></i> {{ translate("USER.CREATE")}}
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user