{% for password in passwords %} {% set lock_record = password.id %} {% set lock_type = constant('App\\Entity\\System\\LockedResource::TYPE_ENTITY') %} {% set lock_target = constant('App\\Controller\\Modules\\ModulesController::MODULE_NAME_PASSWORDS') %} {% if isAllowedToSeeResource(lock_record, lock_type, lock_target) %} {% include 'modules/common/components/table-cells/actions.html.twig' with { "trash" : true, "edit" : true, "copy" : true, "copy_attr" : 'data-copy-from-selector="#password-id-' ~ password.id ~ '"', "save" : true, "lock_record" : lock_record, "lock_type" : lock_type, "lock_target" : lock_target, } %} {% endif %} {% endfor %}
{{ 'datatables.table.id' | trans }} {{ 'passwords.table.login' | trans }} {{ 'passwords.table.password' | trans }} {{ 'passwords.table.url' | trans }} {{ 'passwords.table.description' | trans }} {{ 'passwords.table.group' | trans }} {{ 'datatables.table.actions' | trans }}
{{ password.id }} {{ 'passwords.hiddenPassword' | trans }} {{ password.url }} {{ password.description }}