fix tablelisting in customer_extras; formatting js files
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -178,10 +178,10 @@ if ($page == 'overview' || $page == 'htpasswds') {
|
||||
|
||||
UI::twigBuffer('user/table.html.twig', [
|
||||
'listing' => \Froxlor\UI\Listing::format($collection, $htaccess_list_data['htaccess_list']),
|
||||
'add_link' => [
|
||||
'actions_links' => [[
|
||||
'href' => $linker->getLink(['section' => 'extras', 'page' => 'htaccess', 'action' => 'add']),
|
||||
'label' => $lng['extras']['pathoptions_add']
|
||||
],
|
||||
]],
|
||||
'entity_info' => $lng['extras']['description']
|
||||
]);
|
||||
UI::twigOutputBuffer();
|
||||
|
||||
@@ -30,9 +30,9 @@ return [
|
||||
'field' => 'path',
|
||||
'callback' => [Ftp::class, 'pathRelative']
|
||||
],
|
||||
'option_indexes' => [
|
||||
'options_indexes' => [
|
||||
'label' => $lng['extras']['view_directory'],
|
||||
'field' => 'option_indexes',
|
||||
'field' => 'options_indexes',
|
||||
'callback' => [Text::class, 'boolean']
|
||||
],
|
||||
'error404path' => [
|
||||
@@ -56,7 +56,7 @@ return [
|
||||
],
|
||||
'visible_columns' => Listing::getVisibleColumnsForListing('htaccess_list', [
|
||||
'path',
|
||||
'option_indexes',
|
||||
'options_indexes',
|
||||
'error404path',
|
||||
'error403path',
|
||||
'error500path',
|
||||
|
||||
Reference in New Issue
Block a user