{% extends 'AdminBundle:Admin:adminLayout.html.twig' %} {% block head %} {{ parent() }} {{ backendHelpers.bazingajsTranslationJavaScripts() }} {% endblock %} {% block bottomScripts %} {{ parent() }} {{ backendHelpers.gridJavaScripts() }} {% endblock %} {% block breadcrumb %} {{ backendHelpers.breadcrumb({ ("user.titles.users home"|trans) : (path(paths.home)), ("user.titles.per author permissions"|trans) : '' }) }} {% endblock %} {#{% block gridFilter %} {{ backendHelpers.gridFilter(filterDefinition, filterValues, path(paths.index,{'mode':'filter'}), path(paths.index)) }} {% endblock %}#} {% block content %} {{ backendHelpers.pageTitle( "user.titles.per author permissions"|trans ) }}
{{ backendHelpers.addActionButton(path(paths.new), paths.new, ('admin.titles.add'|trans), 'btn-success', 'icon-plus' )}}
{#
#} {% for key,items in entities %} {% for entity in items %} {# , {'title': ('admin.titles.edit'|trans), 'iconColorClass':'green', 'iconClass':'icon-pencil', 'rout':paths.edit, 'path': path(paths.edit, { 'objecttype': key, 'id': entity.id })}, {'title': ('admin.titles.delete'|trans), 'iconColorClass':'red', 'iconClass':'icon-trash', 'rout':paths.delete, 'path': path(paths.delete, { 'objecttype': key, 'id': entity.id , 'redirect': app.request.uri|base64_encode }), 'class':'gridDeleteRow', 'gridDeleteLink':true} #} {% endfor %} {% endfor %}
{{ key|trans }}
{{ entity.id }} {{ attribute(entity,permissions_params[key]["field_title"]) }} {{ backendHelpers.gridActionButtons([ {'title': ('admin.titles.show'|trans), 'iconColorClass':'blue', 'iconClass':'icon-zoom-in', 'rout':paths.show, 'path': path(paths.show, { 'objecttype': key, 'id': entity.id })} ]) }}
{#
#}
{% endblock %}