You've already forked AstralRinth
forked from didirus/AstralRinth
Get rid of a bit of dead code around server suspensions (#3693)
Might fix some issues with people getting errors saying their servers are suspended when it's actually upgrading
This commit is contained in:
@@ -60,15 +60,7 @@
|
|||||||
Your server's hardware is currently being upgraded and will be back online shortly.
|
Your server's hardware is currently being upgraded and will be back online shortly.
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="status === 'suspended' && suspension_reason === 'support'"
|
v-else-if="status === 'suspended'"
|
||||||
class="relative -mt-4 flex w-full flex-row items-center gap-2 rounded-b-3xl bg-bg-blue p-4 text-sm font-bold text-contrast"
|
|
||||||
>
|
|
||||||
<HammerIcon />
|
|
||||||
You recently requested support for your server and we are actively working on it. It will be
|
|
||||||
back online shortly.
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
v-else-if="status === 'suspended' && suspension_reason !== 'upgrading'"
|
|
||||||
class="relative -mt-4 flex w-full flex-col gap-2 rounded-b-3xl bg-bg-red p-4 text-sm font-bold text-contrast"
|
class="relative -mt-4 flex w-full flex-col gap-2 rounded-b-3xl bg-bg-red p-4 text-sm font-bold text-contrast"
|
||||||
>
|
>
|
||||||
<div class="flex flex-row gap-2">
|
<div class="flex flex-row gap-2">
|
||||||
|
|||||||
@@ -307,10 +307,8 @@ interface General {
|
|||||||
| "moderated"
|
| "moderated"
|
||||||
| "paymentfailed"
|
| "paymentfailed"
|
||||||
| "cancelled"
|
| "cancelled"
|
||||||
| "other"
|
|
||||||
| "transferring"
|
|
||||||
| "upgrading"
|
| "upgrading"
|
||||||
| "support"
|
| "other"
|
||||||
| (string & {});
|
| (string & {});
|
||||||
loader: string;
|
loader: string;
|
||||||
loader_version: string;
|
loader_version: string;
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
This is a private conversation thread with the Modrinth moderators. They may message you
|
This is a private conversation thread with the Modrinth moderators. They may message you
|
||||||
with issues concerning this project. This thread is only checked when you submit your
|
with issues concerning this project. This thread is only checked when you submit your
|
||||||
project for review. For additional inquiries, contact
|
project for review. For additional inquiries, contact
|
||||||
<a href="https://support.modrinth.com">Modrinth support</a>.
|
<a href="https://support.modrinth.com">Modrinth Support</a>.
|
||||||
</p>
|
</p>
|
||||||
<ConversationThread
|
<ConversationThread
|
||||||
v-if="thread"
|
v-if="thread"
|
||||||
|
|||||||
@@ -33,26 +33,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="serverData?.status === 'suspended' && serverData.suspension_reason === 'support'"
|
v-else-if="serverData?.status === 'suspended'"
|
||||||
class="flex min-h-[calc(100vh-4rem)] items-center justify-center text-contrast"
|
|
||||||
>
|
|
||||||
<div class="flex max-w-lg flex-col items-center rounded-3xl bg-bg-raised p-6 shadow-xl">
|
|
||||||
<div class="flex flex-col items-center text-center">
|
|
||||||
<div class="flex flex-col items-center gap-4">
|
|
||||||
<div class="grid place-content-center rounded-full bg-bg-blue p-4">
|
|
||||||
<TransferIcon class="size-12 text-blue" />
|
|
||||||
</div>
|
|
||||||
<h1 class="m-0 mb-2 w-fit text-4xl font-bold">We're working on your server</h1>
|
|
||||||
</div>
|
|
||||||
<p class="text-lg text-secondary">
|
|
||||||
You recently contacted Modrinth Support, and we're actively working on your server. It
|
|
||||||
will be back online shortly.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
v-else-if="serverData?.status === 'suspended' && serverData.suspension_reason !== 'upgrading'"
|
|
||||||
class="flex min-h-[calc(100vh-4rem)] items-center justify-center text-contrast"
|
class="flex min-h-[calc(100vh-4rem)] items-center justify-center text-contrast"
|
||||||
>
|
>
|
||||||
<div class="flex max-w-lg flex-col items-center rounded-3xl bg-bg-raised p-6 shadow-xl">
|
<div class="flex max-w-lg flex-col items-center rounded-3xl bg-bg-raised p-6 shadow-xl">
|
||||||
@@ -72,7 +53,7 @@
|
|||||||
: "Your server has been suspended."
|
: "Your server has been suspended."
|
||||||
}}
|
}}
|
||||||
<br />
|
<br />
|
||||||
Contact Modrinth support if you believe this is an error.
|
Contact Modrinth Support if you believe this is an error.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<ButtonStyled size="large" color="brand" @click="() => router.push('/settings/billing')">
|
<ButtonStyled size="large" color="brand" @click="() => router.push('/settings/billing')">
|
||||||
@@ -97,7 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="text-lg text-secondary">
|
<p class="text-lg text-secondary">
|
||||||
You don't have permission to view this server or it no longer exists. If you believe this
|
You don't have permission to view this server or it no longer exists. If you believe this
|
||||||
is an error, please contact Modrinth support.
|
is an error, please contact Modrinth Support.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<UiCopyCode :text="JSON.stringify(server.general?.error)" />
|
<UiCopyCode :text="JSON.stringify(server.general?.error)" />
|
||||||
@@ -289,7 +270,7 @@
|
|||||||
can change the loader by clicking the "Change Loader" button.
|
can change the loader by clicking the "Change Loader" button.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
If you're stuck, please contact Modrinth support with the information below:
|
If you're stuck, please contact Modrinth Support with the information below:
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ButtonStyled>
|
<ButtonStyled>
|
||||||
@@ -309,7 +290,7 @@
|
|||||||
An error occurred while installing your server because Modrinth Servers does not
|
An error occurred while installing your server because Modrinth Servers does not
|
||||||
support the version of Minecraft or the loader you specified. Try reinstalling your
|
support the version of Minecraft or the loader you specified. Try reinstalling your
|
||||||
server with a different version or loader, and if the problem persists, please
|
server with a different version or loader, and if the problem persists, please
|
||||||
contact Modrinth support with your server's debug information.
|
contact Modrinth Support with your server's debug information.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -224,7 +224,7 @@
|
|||||||
explanations for this. If you just purchased your server, this is normal. It could
|
explanations for this. If you just purchased your server, this is normal. It could
|
||||||
take up to an hour for your server to be provisioned. Otherwise, if you purchased
|
take up to an hour for your server to be provisioned. Otherwise, if you purchased
|
||||||
this server a while ago, it has likely since been suspended. If this is not what
|
this server a while ago, it has likely since been suspended. If this is not what
|
||||||
you were expecting, please contact Modrinth support with the following
|
you were expecting, please contact Modrinth Support with the following
|
||||||
information:
|
information:
|
||||||
</p>
|
</p>
|
||||||
<div class="flex w-full flex-col gap-2">
|
<div class="flex w-full flex-col gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user