-
+
{#if $status?.allow_advanced}
{/if}
@@ -132,40 +131,16 @@
{#if loading}
- {$t('common.loading')}
+ {loading}
{:else}
- {message}
+ {description}
{/if}
{#if advanced}
-
-
- ($status && v < $status?.max_views) ||
- $t('home.errors.max', { values: { n: $status?.max_views ?? 0 } })}
- />
-
-
-
-
- ($status && v < $status?.max_expiration) ||
- $t('home.errors.max', { values: { n: $status?.max_expiration ?? 0 } })}
- />
-
+
{/if}
@@ -187,15 +162,7 @@
flex: 1;
}
- .middle-switch {
- margin: 0 1rem;
- }
-
.error-text {
margin-top: 0.5rem;
}
-
- .fields {
- display: flex;
- }
diff --git a/frontend/src/routes/__layout.svelte b/frontend/src/routes/__layout.svelte
index 4ea067a..05b0cef 100644
--- a/frontend/src/routes/__layout.svelte
+++ b/frontend/src/routes/__layout.svelte
@@ -1,5 +1,5 @@
@@ -70,7 +90,7 @@
{#if error}
- {$t('show.errors.decryption_failed')}
+ {error}
{/if}
@@ -79,5 +99,11 @@
{/if}
{/if}
{#if loading}
-
{$t('common.loading')}
+
{loading}
{/if}
+
+