Remove warning about download slowdowns as it's no longer true
This commit is contained in:
@@ -109,7 +109,7 @@ export const seek = delta => {
|
||||
|
||||
<br/><br/>
|
||||
{#if file.show_ads}
|
||||
<BandwidthUsage file={file} on:reload/>
|
||||
<BandwidthUsage/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
@@ -1,33 +1,20 @@
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { formatDataVolume } from "util/Formatting";
|
||||
import TextBlock from "layout/TextBlock.svelte"
|
||||
import ProgressBar from "util/ProgressBar.svelte";
|
||||
import { stats } from "lib/StatsSocket"
|
||||
|
||||
export let file = {
|
||||
size: 0,
|
||||
}
|
||||
|
||||
$: transfer_left = $stats.limits.transfer_limit - $stats.limits.transfer_limit_used
|
||||
</script>
|
||||
|
||||
{#if $stats.limits_init}
|
||||
<TextBlock center={true}>
|
||||
{#if file.size > transfer_left}
|
||||
<div class="highlight_yellow">
|
||||
This file is too large to download completely with your current
|
||||
transfer limit. The first {formatDataVolume(transfer_left, 3)}
|
||||
will download at full speed, but the remaining
|
||||
{formatDataVolume(file.size - transfer_left, 3)} will take
|
||||
longer
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<p>
|
||||
You have used {formatDataVolume($stats.limits.transfer_limit_used, 3)} of
|
||||
your daily {formatDataVolume($stats.limits.transfer_limit, 3)} transfer
|
||||
limit. When the transfer limit is exceeded your download speed will
|
||||
be reduced.
|
||||
You have used
|
||||
{formatDataVolume($stats.limits.transfer_limit_used, 3)}
|
||||
of your daily
|
||||
{formatDataVolume($stats.limits.transfer_limit, 3)}
|
||||
transfer limit. When the transfer limit is exceeded the download
|
||||
speed for new downloads will be limited. Exceeding the limit no
|
||||
longer affects running downloads.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@@ -34,5 +34,5 @@ let file = {
|
||||
</IconBlock>
|
||||
|
||||
{#if file.show_ads}
|
||||
<BandwidthUsage file={file} on:reload/>
|
||||
<BandwidthUsage/>
|
||||
{/if}
|
||||
|
@@ -211,7 +211,7 @@ const video_keydown = e => {
|
||||
</IconBlock>
|
||||
|
||||
{#if file.show_ads}
|
||||
<BandwidthUsage file={file} on:reload/>
|
||||
<BandwidthUsage/>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
|
@@ -101,7 +101,7 @@ const recursive_set_url = (parent_path, file) => {
|
||||
</IconBlock>
|
||||
|
||||
{#if file.show_ads}
|
||||
<BandwidthUsage file={file} on:reload/>
|
||||
<BandwidthUsage/>
|
||||
{/if}
|
||||
|
||||
{#if status === "finished"}
|
||||
|
@@ -83,7 +83,7 @@ export const checkout = async (state: CheckoutState) => {
|
||||
const form = new FormData()
|
||||
form.set("amount", String(state.amount * 1e6))
|
||||
form.set("network", state.provider.name)
|
||||
form.set("country", state.country.alpha2)
|
||||
form.set("country", state.country.alpha3)
|
||||
|
||||
if (state.provider.need_name) {
|
||||
form.set("name", state.name)
|
||||
|
Reference in New Issue
Block a user