{% 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) : (path(paths.index)), ("admin.titles.show"|trans) : '' }) }} {% endblock %} {% block actions %}
{% endblock %} {% block content %} {{ backendHelpers.pageTitle( "user.titles.author permissions"|trans ) }}{{"user.titles.id"|trans}} | {{ entity.id }} | ||||||
---|---|---|---|---|---|---|---|
{{"admin.titles.title"|trans}} | {{ attribute(entity,field_title) }} | ||||||
type | {{ objecttype|trans }} | ||||||
id | Username | Permissions | {% for entry in permissions %} |
---|---|---|---|
{{ entry.id }} | {{ entry.username }} | {{ entry.permissions|join (',') }} | {{ backendHelpers.gridActionButtons([ {'title': ('admin.titles.delete'|trans), 'iconColorClass':'red', 'iconClass':'icon-trash', 'rout':paths.delete, 'path': path(paths.delete, { 'id' : entity.id, 'objecttype': objecttype, 'index': entry.id , 'redirect': app.request.uri|base64_encode }), 'class':'gridDeleteRow', 'gridDeleteLink':true} ]) }} |