1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12: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() {
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>
<div class="loading" class:timeout={timedOut}>
<span class="header">{text}</span>
<span class="subtext">{subtext}</span>
<span class="header">
{#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>
<style>