fix: [UI] Add label to delete auth key icon

pull/6586/head
Jakub Onderka 2020-11-15 10:28:43 +01:00
parent fa1f391fc1
commit 4a11759395
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
echo sprintf('<div %s>', empty($ajax) ? 'class="index"' : '');
echo sprintf('<div%s>', empty($ajax) ? ' class="index"' : '');
echo $this->element('genericElements/IndexTable/index_table', [
'data' => [
'data' => $data,
@ -49,7 +49,6 @@
'sort' => 'AuthKey.authkey_start',
'element' => 'authkey',
'data_path' => 'AuthKey',
'privacy' => 1
],
[
'name' => __('Expiration'),
@ -79,7 +78,8 @@
$baseurl
),
'onclick_params_data_path' => 'AuthKey.id',
'icon' => 'trash'
'icon' => 'trash',
'title' => __('Delete auth key'),
]
]
]