{% 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 %}
{# {{"admin.titles.edit"|trans}}#} {{"admin.titles.add_new"|trans}} {{"admin.titles.return_to_list"|trans}}
{% endblock %} {% block content %} {{ backendHelpers.pageTitle( "user.titles.author permissions"|trans ) }}
{{"admin.titles.add"|trans}} {{"admin.titles.list"|trans}}
{{"user.titles.id"|trans}} {{ entity.id }}
{{"admin.titles.title"|trans}} {{ attribute(entity,field_title) }}
type {{ objecttype|trans }}
{% for entry in permissions %} {% endfor %}
id Username 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} ]) }}
{% endblock %}