Commit b65e1c6b authored by Roman Ondráček's avatar Roman Ondráček

IQRF net: add information about the daemon restarting at Coordinator upload page (fix #224)

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 8452b61e
Pipeline #2312 passed with stages
in 14 minutes and 32 seconds
......@@ -148,6 +148,7 @@ class DpaUploadFormFactory {
$this->uploadManager->uploadFile($file, UploadFormats::IQRF());
$this->serviceManager->restart();
$this->presenter->flashSuccess('iqrfnet.trUpload.messages.success');
$this->presenter->flashInfo('service.actions.restart.message');
} catch (CorruptedFileException $e) {
$this->presenter->flashError('iqrfnet.trUpload.messages.corruptedFile');
} catch (DpaErrorException | EmptyResponseException | JsonException | UserErrorException $e) {
......
......@@ -144,6 +144,7 @@ class OsDpaUploadFormFactory {
}
$this->serviceManager->restart();
$this->presenter->flashSuccess('iqrfnet.trUpload.messages.success');
$this->presenter->flashInfo('service.actions.restart.message');
} catch (CorruptedFileException $e) {
$this->presenter->flashError('iqrfnet.trUpload.messages.corruptedFile');
} catch (DpaErrorException | EmptyResponseException | JsonException | UserErrorException $e) {
......
......@@ -10,7 +10,7 @@ actions:
message: IQRF Gateway Daemon has been stopped.
restart:
title: Restart
message: IQRF Gateway Daemon has been restarted.
message: IQRF Gateway Daemon has been restarted. It takes couple of seconds before the system is ready.
status:
title: Refresh status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment