1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Change copy

This commit is contained in:
Adria Navarro 2024-01-08 13:07:33 +01:00
parent 13325b63a2
commit f7f51e7909

View file

@ -29,16 +29,25 @@
function migrationTimeout() { function migrationTimeout() {
timedOut = true timedOut = true
} }
$: text = !timedOut ? "System update" : "Something went wrong!"
$: subtext = !timedOut
? "Please wait and we will be back in a second!"
: "An error occurred, please try again later"
</script> </script>
<div class="loading" class:timeout={timedOut}> <div class="loading" class:timeout={timedOut}>
<span class="header">{text}</span> <span class="header">
<span class="subtext">{subtext}</span> {#if !timedOut}
System update
{:else}
Something went wrong!
{/if}
</span>
<span class="subtext">
{#if !timedOut}
Please wait and we will be back in a second!
{:else}
An error occurred, please try again later.
<br />
Contact support if the issue persists.
{/if}</span
>
</div> </div>
<style> <style>