feature: Add description on project creation

This commit is contained in:
Fabien Quatravaux 2021-01-14 15:19:05 +01:00 committed by Jean-Baptiste Pasquier
parent e83a3371e6
commit c95213ee55
3 changed files with 13 additions and 2 deletions

View File

@ -134,6 +134,8 @@
"backlink": "Back",
"title": " Create a nouveau project",
"labelName": "Project name*",
"labelDescription": "Poject description",
"descriptionHelp": "You can use markdown",
"labelCustomer": "Customer name*",
"labelCaptain": "Project captain*",
"buttonSubmit": "Save"

View File

@ -134,6 +134,8 @@
"backlink": "Retour",
"title": "Créer un nouveau projet",
"labelName": "Nom du projet *",
"labelDescription": "Description du projet",
"descriptionHelp": "Vous pouvez utiliser Markdown",
"labelCustomer": "Nom du client*",
"labelCaptain": "Capitaine du projet*",
"buttonSubmit": "Enregistrer"

View File

@ -12,7 +12,7 @@ div.content-box__info.flex
solid-form.form.button-register(
data-src=`${endpoints.projects || endpoints.post.projects}`
fields='status, line-1(customer.name, name), line-2(captain)'
fields='status, line-1(customer.name, name), description, help, line-2(captain)'
required-status
required-customer.name
required-name
@ -30,6 +30,13 @@ div.content-box__info.flex
label-name=''
class-name='form-label is-light is-half-width input-text-like'
label-description=''
widget-description='solid-form-textarea-label'
class-description='form-label is-light input-text-like'
value-help=''
widget-help='solid-display-value'
class-help='is-small'
label-captain=''
range-captain=`${endpoints.users || endpoints.get.users}`
class-captain='form-label is-light is-half-width'
@ -41,5 +48,5 @@ div.content-box__info.flex
submit-button=''
data-trans='label-status=project.create.labelStatus;label-customer.name=project.create.labelCustomer;label-name=project.create.labelName;label-captain=project.create.labelCaptain;submit-button=project.create.buttonSubmit'
data-trans='label-status=project.create.labelStatus;label-customer.name=project.create.labelCustomer;label-name=project.create.labelName;label-captain=project.create.labelCaptain;submit-button=project.create.buttonSubmit;label-description=project.create.labelDescription;value-help=project.create.descriptionHelp'
)