mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
Minor improvements
This commit is contained in:
parent
3c943f9b95
commit
5ce4a5e68b
@ -89,7 +89,7 @@ async function createPage() {
|
||||
:maxlength="backendData.validations.project.pageName.max"
|
||||
:minlength="backendData.validations.project.pageName.min"
|
||||
/>
|
||||
<InputSelect v-model="parent" :values="pageRoots" :label="i18n.t('page.new.parent')" />
|
||||
<InputSelect v-model="parent" :values="pageRoots" :label="i18n.t('page.new.parent')" class="pt-2 pb-1" />
|
||||
</div>
|
||||
<div>
|
||||
<Button class="mt-2" :disabled="validateLoading || loading" @click="createPage">{{ i18n.t("general.create") }}</Button>
|
||||
|
@ -45,12 +45,13 @@ async function submit(closeModal: () => void): Promise<void> {
|
||||
<template>
|
||||
<Modal :title="i18n.t('visibility.modal.title', [type])">
|
||||
<template #default="{ on }">
|
||||
Currently {{ propVisibility }}
|
||||
<InputRadio v-for="vis in backendData.visibilities" :key="vis.name" v-model="visibility" :value="vis.name" :label="i18n.t(vis.title)" class="block" />
|
||||
|
||||
<InputTextarea v-if="showTextarea" v-model.trim="reason" rows="2" :label="i18n.t('visibility.modal.reason')" />
|
||||
|
||||
<Button class="mt-2 ml-2" @click="submit(on.click)">{{ i18n.t("general.submit") }}</Button>
|
||||
<Button type="gray" class="mt-2" v-on="on">{{ i18n.t("general.close") }}</Button>
|
||||
<Button class="mt-2" @click="submit(on.click)">{{ i18n.t("general.submit") }}</Button>
|
||||
<Button button-type="gray" class="mt-2 ml-2" v-on="on">{{ i18n.t("general.close") }}</Button>
|
||||
</template>
|
||||
<template #activator="{ on }">
|
||||
<Button v-bind="$attrs" class="mr-1" v-on="on">
|
||||
|
@ -40,6 +40,12 @@ Examples of names that are **allowed**:
|
||||
The category you choose should be accurate. Your project should use the most fitting category rather than any category
|
||||
that only slightly applies. If no category appears accurate, the Miscellaneous category should be used.
|
||||
|
||||
## Resource Updates
|
||||
|
||||
While the ratelimit for uploading new versions is very lenient to allow sometimes necessary hotfixes, you should not
|
||||
unnecessarily push a large number updates to the release channel, solely to bump the update date of your project or to
|
||||
flood watching users with notifications.
|
||||
|
||||
## Monetization / Advertising
|
||||
|
||||
Additional features or addons may not be hidden behind a paywall; this includes directly linking to off-site addons or "
|
||||
@ -105,8 +111,8 @@ command. Commands for granting specific, pre-programmed users OP or permissions
|
||||
Other malicious actions, such as deleting a server's data or banning random players, are also prohibited.
|
||||
|
||||
---
|
||||
Currently being a modified version of Ore guidelines, this document is licensed under a
|
||||
[Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
These guidelines are loosely based on [Ore's plugin submission guidelines](https://docs.spongepowered.org/stable/en/ore/guidelines.html),
|
||||
licensed under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
`;
|
||||
|
||||
useHead(useSeo(i18n.t("pages.guidelinesTitle"), null, route, null));
|
||||
|
Loading…
Reference in New Issue
Block a user