Show org delete/transfer button

This commit is contained in:
Nassim Jahnke 2023-01-26 12:27:11 +01:00
parent e419ec9ac1
commit 8b794e050d
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 14 additions and 8 deletions

View File

@ -142,7 +142,10 @@ useHead(useSeo(props.user.name, props.user.name + " is an author on Hangar. " +
<ProjectList :projects="projects" @update:page="(newPage) => (page = newPage)" />
</div>
<div class="flex-basis-full flex-grow md:max-w-1/3 md:min-w-1/3">
<Card v-if="buttons.length !== 0" class="mb-4 border-solid border-top-4 border-top-red-500 dark:border-top-red-500">
<Card
v-if="buttons.length !== 0 || (organization && hasPerms(NamedPermission.IS_SUBJECT_OWNER))"
class="mb-4 border-solid border-top-4 border-top-red-500 dark:border-top-red-500"
>
<template #header>{{ i18n.t("author.management") }}</template>
<template v-if="organization && hasPerms(NamedPermission.IS_SUBJECT_OWNER)">
<Tooltip :content="i18n.t('author.tooltips.transfer')">

View File

@ -27,21 +27,24 @@ useHead(useSeo("Hangar Version", null, route, null));
<p mb="2">The next development steps of Hangar have been set to the following milestones:</p>
<ul class="list-disc list-inside">
<li mb="2">
<Link href="https://github.com/orgs/HangarMC/projects/1/views/12">Before Beta</Link>: <br />
Having completed the most important work, we will look for beta testers on our production instance on <Link href="https://hangar.papermc.io">hangar.papermc.io</Link>.
At this point we promise to no longer reset the database, so you can start uploading your plugins! <br><br>
Certain things might still be rough around the edges, so expect breakage. Please report any findings to our <Link href="https://github.com/HangarMC/Hangar/issues/new/choose">issue tracker</Link>.
<Link href="https://github.com/orgs/HangarMC/projects/1/views/12">Before Beta</Link>: Having completed the most important functionality, we will look
for beta testers on our production instance on <Link href="https://hangar.papermc.io">hangar.papermc.io</Link>. At this point we promise to no longer
reset the database, so you can start uploading your plugins! Certain things might still be rough around the edges, so expect breakage.
</li>
<li mb="2">
<Link href="https://github.com/orgs/HangarMC/projects/1/views/14">During Beta</Link> we aim to fix more bugs and introduce a few new exciting features.
Hangar might stay in this phase for a while.
<Link href="https://github.com/orgs/HangarMC/projects/1/views/14">During Beta</Link> we aim to fix more bugs and introduce a few new exciting
features. Hangar might stay in this phase for a while.
</li>
<li mb="2">
The <Link href="https://github.com/orgs/HangarMC/projects/1/views/16">Future</Link> is looking bright for Hangar, so this milestone captures all tasks
that we are interested in, but might be out of reach for a while for various reasons. We're open to more extravagant suggestions!
</li>
</ul>
<p mt="2">You can see an overview graph of these milestones <Link href="https://github.com/orgs/HangarMC/projects/1/insights/2">here</Link>.</p>
<p mt="2">
You can see an overview graph of these milestones <Link href="https://github.com/orgs/HangarMC/projects/1/insights/2">here</Link>
<br />
Please report bugs and other problems you encounter to our <Link href="https://github.com/HangarMC/Hangar/issues/new/choose">issue tracker</Link>.
</p>
</template>
<Alert v-else mt="4" type="danger"> Version info couldn't be loaded! </Alert>
</div>