chg: [workflows:module_index] Improved notice

pull/8530/head
Sami Mokaddem 2022-07-19 10:18:58 +02:00
parent 27cbdf9a5c
commit df54169cdb
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,11 @@
];
if (!empty($module_service_error)) {
echo sprintf('<div class="alert alert-error"><strong>%s</strong> %s</div>', __('MISP Modules Action Services is not reachable!'), __('Some modules will not be available.'));
echo sprintf('<div class="alert alert-error"><strong>%s</strong> %s<div>%s</div></div>',
__('MISP Modules Action Services is not reachable!'),
__('Some modules will not be available.'),
__('Make sure the %s %s is enabled and the action service is reachable.', sprintf('<a href="%s">%s</a>', $baseurl . '/servers/serverSettings/Plugin', __('setting')), sprintf('<code>%s</code>', 'Plugin.Action_services_enable')),
);
}
if (!empty($errorWhileLoading)) {
$loadingErrorHtml = sprintf('<ul>%s</ul>', implode('', array_map(function ($filepath, $message) {