Update branding options

This commit is contained in:
2022-11-07 17:10:29 +01:00
parent e43278acdb
commit db0ae5a322
2 changed files with 4 additions and 4 deletions

View File

@@ -45,12 +45,12 @@ onMount(() => {
<h2>Embedding controls</h2>
<SuccessMessage bind:this={success_message}></SuccessMessage>
{#if !window.user.subscription.file_viewer_branding}
<div class="highlight_red">
<div class="highlight_yellow">
Sharing settings are not available for your account. Subscribe to
the Persistence plan or higher to enable these features.
</div>
{:else if !window.user.hotlinking_enabled}
<div class="highlight_red">
<div class="highlight_yellow">
To use embedding restrictions bandwidth sharing needs to be enabled.
Enable bandwidth sharing on the
<a href="/user/sharing/bandwidth">bandwidth sharing page</a>.

View File

@@ -94,12 +94,12 @@ onMount(() => {
<section>
<h2>File viewer branding</h2>
{#if !window.user.subscription.file_viewer_branding}
<div class="highlight_red">
<div class="highlight_yellow">
Sharing settings are not available for your account. Subscribe to
the Persistence plan or higher to enable these features.
</div>
{:else if !window.user.hotlinking_enabled}
<div class="highlight_red">
<div class="highlight_yellow">
To use custom file viewer branding bandwidth sharing needs to be
enabled. Enable bandwidth sharing on the
<a href="/user/sharing/bandwidth">bandwidth sharing page</a>.