Remove default description and license and add checklist nag for license (#892)

* Remove default description, remove default license, and add a checklist nag for setting a license

* Make Unknown license display nicer in License settings

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
Prospector
2023-01-11 10:06:29 -08:00
committed by GitHub
parent 61a4f15e53
commit aabf270144
3 changed files with 25 additions and 24 deletions

View File

@@ -256,6 +256,20 @@ export default {
hide: this.routeName === 'type-id-settings',
},
},
{
condition: this.project.license.id === 'LicenseRef-Unknown',
title: 'Select license',
id: 'select-license',
description: `Select the license your ${this.$formatProjectType(
this.project.project_type
).toLowerCase()} is distributed under.`,
status: 'required',
link: {
path: 'settings/license',
title: 'Visit license settings',
hide: this.routeName === 'type-id-settings-license',
},
},
{
condition: this.project.status === 'draft',
title: 'Submit for review',