Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service-management): update service stop and restart messages for improved clarity and formatting

Andras Bacsai393d6f7669d2
diff --git a/resources/views/livewire/project/service/heading.blade.php b/resources/views/livewire/project/service/heading.blade.php
index 4b94091046..c23ebb7147 100644
--- a/resources/views/livewire/project/service/heading.blade.php
+++ b/resources/views/livewire/project/service/heading.blade.php
@@ -135,7 +135,8 @@
@script
<script>
$wire.$on('stopEvent', () => {
- $wire.$dispatch('info', 'Gracefully stopping service, it could take a while depending on the service.');
+ $wire.$dispatch('info',
+ 'Gracefully stopping service.<br>It could take a while depending on the service.');
$wire.$call('stop');
});
$wire.$on('startEvent', async () => {
@@ -161,7 +162,8 @@
);
return;
}
- $wire.$dispatch('info', 'Service restart in progress.');
+ $wire.$dispatch('info',
+ 'Gracefully stopping service.<br/>It could take a while depending on the service.');
window.dispatchEvent(new CustomEvent('startservice'));
$wire.$call('restart');
});