Redesign abuse notification

This commit is contained in:
2023-01-02 14:35:36 +01:00
parent 169b746145
commit be13b12c22
4 changed files with 21 additions and 12 deletions

View File

@@ -578,12 +578,11 @@ const keyboard_event = evt => {
{#if ads_enabled}
<AdLeaderboard></AdLeaderboard>
<TransferLimit/>
{:else if custom_footer}
<CustomBanner src={custom_footer} link={custom_footer_link}></CustomBanner>
{/if}
<TransferLimit/>
<Modal bind:this={details_window} on:is_visible={e => {details_visible = e.detail}} title="File details" width="1000px">
<DetailsWindow file={file}></DetailsWindow>
</Modal>

View File

@@ -11,12 +11,24 @@ let file = {
</script>
<br/>
<TextBlock center={true}>
<TextBlock width="750px">
<h1>Unavailable for legal reasons</h1>
<p>
This file has received an abuse report and was taken down.
This file has been removed for violating pixeldrain's
<a href="/about#content-policy">content policy</a>. Type of abuse:
{file.abuse_type}.
</p>
<p>
Type of abuse: {file.abuse_type}. Reporter: {file.abuse_reporter_name}.
{#if file.abuse_reporter_name === "User submitted reports"}
The file was reported by users of pixeldrain with the report button
in the toolbar.
{/if}
</p>
<p>
Pixeldrain has zero tolerance towards abuse. The IP address this file
originated from has been banned and is no longer able to upload files to
pixeldrain.
</p>
</TextBlock>