mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-11 14:52:01 +08:00
feat: add agpl as a license option (#1012)
Co-authored-by: MiniDigger | Martin <admin@benndorf.dev>
This commit is contained in:
parent
b1be7534b8
commit
956ce62994
@ -62,6 +62,7 @@ hangar:
|
||||
- "Apache 2.0"
|
||||
- "GPL"
|
||||
- "LGPL"
|
||||
- "AGPL"
|
||||
- "Other"
|
||||
|
||||
announcements:
|
||||
|
14
frontend/src/components/logos/licenses/AGPLLogo.vue
Normal file
14
frontend/src/components/logos/licenses/AGPLLogo.vue
Normal file
File diff suppressed because one or more lines are too long
@ -2,6 +2,7 @@
|
||||
import MITLogo from "~/components/logos/licenses/MITLogo.vue";
|
||||
import GPLLogo from "~/components/logos/licenses/GPLLogo.vue";
|
||||
import LGPLLogo from "~/components/logos/licenses/LGPLLogo.vue";
|
||||
import AGPLLogo from "~/components/logos/licenses/AGPLLogo.vue";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@ -19,5 +20,6 @@ const props = withDefaults(
|
||||
<icon-mdi-feather v-else-if="license === 'Apache 2.0'" v-bind="$attrs" :width="size" :height="size" />
|
||||
<GPLLogo v-else-if="license === 'GPL'" v-bind="$attrs" :width="size" :height="size" />
|
||||
<LGPLLogo v-else-if="license === 'LGPL'" v-bind="$attrs" :width="size" :height="size" />
|
||||
<AGPLLogo v-else-if="license === 'AGPL'" v-bind="$attrs" :width="size" :height="size" />
|
||||
<icon-mdi-gavel v-else-if="license === 'Other'" v-bind="$attrs" :width="size" :height="size" />
|
||||
</template>
|
||||
|
@ -232,7 +232,6 @@ function createProject() {
|
||||
:values="backendData.licenseOptions"
|
||||
:label="i18n.t('project.new.step3.type')"
|
||||
:rules="[required()]"
|
||||
:model-value="unspecifiedLicenseName"
|
||||
/>
|
||||
</div>
|
||||
<div v-if="isCustomLicense" class="basis-full md:basis-8/12 mt-4">
|
||||
|
Loading…
Reference in New Issue
Block a user