The Icon object for the action. * 'title' => The descriptive title for the action. * 'link_classes' => Classes which shall be added to the link element * of the action. * 'url' => An optional URL that shall be attached to the action's * link element via the href attribute. * 'js_action' => An optional JavaScript action that shall be attached * to the link element using the onclick attribute. * ] * - show_delete_action: If the delete action shall be shown (true) or not (false). * Defaults to true, if not set. */ //Make sure the delete action is shown when the $show_delete_action //template variable isn't set: if (!isset($show_delete_action)) { $show_delete_action = true; } ?>
| = _('Name') ?> | = _('Rechtestufe') ?> | if (!empty($custom_columns)): ?> foreach (array_keys($custom_columns) as $column_name): ?>= htmlReady($column_name) ?> | endforeach ?> endif ?>|
|---|---|---|---|
| $button_attrs = [ 'class' => 'bulk-action', 'data-activates-condition' => 'table.resource-permissions-table :checkbox:checked' ]; ?> = \Studip\Button::create(_('Löschen'), 'bulk_delete', $button_attrs) ?> | |||
| if ($permission->user instanceof User): ?> = htmlReady($permission->user->getFullName('full_rev_username')) ?> (= htmlReady($permission->user->perms) ?>) else: ?> = _('unbekannt') ?> endif ?> | if (!empty($custom_columns)): ?> foreach ($custom_columns as $column_content): ?> | = htmlReady($column_content[$permission->id]) ?> | endforeach ?> endif ?>|
| if ($single_user instanceof User): ?> = $custom_empty_list_message ?: sprintf( _('Es sind keine besonderen Rechte für %s vorhanden.'), htmlReady($single_user->getFullName() )) ?> else: ?> = $custom_empty_list_message ?: _('Es sind keine besonderen Rechte vorhanden.') ?> endif ?> | |||
| if (!empty($custom_columns)): ?> foreach (array_keys($custom_columns) as $column_name): ?> | = htmlReady($custom_columns[$column_name]) ?> | endforeach ?> endif ?>||