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

View File

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