feature: Add description to projects
This commit is contained in:
parent
3602f03032
commit
a74648b8d2
@ -144,6 +144,8 @@
|
|||||||
"title": "Edit your project",
|
"title": "Edit your project",
|
||||||
"labelName": "Project name *",
|
"labelName": "Project name *",
|
||||||
"labelCustomer": "Customer name *",
|
"labelCustomer": "Customer name *",
|
||||||
|
"labelDescription": "Project description",
|
||||||
|
"descriptionHelp": "You can use markdown",
|
||||||
"subTitle": "Team members :",
|
"subTitle": "Team members :",
|
||||||
"tableHeader1": "Name",
|
"tableHeader1": "Name",
|
||||||
"tableHeader2": "Access",
|
"tableHeader2": "Access",
|
||||||
@ -180,6 +182,7 @@
|
|||||||
"buttonQuit": "Leave the project",
|
"buttonQuit": "Leave the project",
|
||||||
"buttonJoin": "Join the project",
|
"buttonJoin": "Join the project",
|
||||||
"captain": "Captain :",
|
"captain": "Captain :",
|
||||||
|
"description": "Description :",
|
||||||
"subTitle": "Team :"
|
"subTitle": "Team :"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -210,4 +213,4 @@
|
|||||||
"private": "Private",
|
"private": "Private",
|
||||||
"public": "Public"
|
"public": "Public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -144,6 +144,8 @@
|
|||||||
"title": "Modifie ton projet",
|
"title": "Modifie ton projet",
|
||||||
"labelName": "Nom du projet *",
|
"labelName": "Nom du projet *",
|
||||||
"labelCustomer": "Nom du client *",
|
"labelCustomer": "Nom du client *",
|
||||||
|
"labelDescription": "Description du projet",
|
||||||
|
"descriptionHelp": "Vous pouvez utiliser Markdown",
|
||||||
"subTitle": "Liste des membres :",
|
"subTitle": "Liste des membres :",
|
||||||
"tableHeader1": "Nom",
|
"tableHeader1": "Nom",
|
||||||
"tableHeader2": "Accès",
|
"tableHeader2": "Accès",
|
||||||
@ -180,6 +182,7 @@
|
|||||||
"buttonQuit": "Quitter le projet",
|
"buttonQuit": "Quitter le projet",
|
||||||
"buttonJoin": "Rejoindre le projet",
|
"buttonJoin": "Rejoindre le projet",
|
||||||
"captain": "Capitaine :",
|
"captain": "Capitaine :",
|
||||||
|
"description": "Description :",
|
||||||
"subTitle": "Equipe :"
|
"subTitle": "Equipe :"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -210,4 +213,4 @@
|
|||||||
"private": "Privé",
|
"private": "Privé",
|
||||||
"public": "Public"
|
"public": "Public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,10 @@ solid-form {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
[name^='line-'] {
|
[name^='line-'] {
|
||||||
|
|
||||||
@include breakpoint(lg) {
|
@include breakpoint(lg) {
|
||||||
|
@ -2,14 +2,14 @@ div.content-box__info
|
|||||||
|
|
||||||
solid-widget(name="project-edit-members-delete")
|
solid-widget(name="project-edit-members-delete")
|
||||||
template
|
template
|
||||||
solid-ac-checker(permission="acl:Delete" data-src="${src}")
|
solid-ac-checker(permission="acl:Delete", data-src="${src}")
|
||||||
solid-delete(
|
solid-delete(
|
||||||
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
|
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
|
||||||
data-src="${src}"
|
data-src="${src}"
|
||||||
data-label=''
|
data-label=''
|
||||||
data-trans='data-label=project.edit.buttonDelete'
|
data-trans='data-label=project.edit.buttonDelete'
|
||||||
)
|
)
|
||||||
|
|
||||||
solid-link(class='backlink right', bind-resources, next='project-profile' data-trans='project.edit.backlink')
|
solid-link(class='backlink right', bind-resources, next='project-profile' data-trans='project.edit.backlink')
|
||||||
|
|
||||||
solid-ac-checker(permission='acl:Write', bind-resources)
|
solid-ac-checker(permission='acl:Write', bind-resources)
|
||||||
@ -24,7 +24,7 @@ div.content-box__info
|
|||||||
solid-form.form.button-register(
|
solid-form.form.button-register(
|
||||||
bind-resources
|
bind-resources
|
||||||
|
|
||||||
fields='line-1(customer.name, name)'
|
fields='line-1(customer.name, name), description, help'
|
||||||
required-customer.name
|
required-customer.name
|
||||||
required-name
|
required-name
|
||||||
|
|
||||||
@ -34,12 +34,19 @@ div.content-box__info
|
|||||||
label-customer.name=''
|
label-customer.name=''
|
||||||
class-customer.name='form-label is-light is-half-width input-text-like'
|
class-customer.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'
|
||||||
|
|
||||||
partial=""
|
partial=""
|
||||||
|
|
||||||
submit-button='Enregistrer'
|
submit-button='Enregistrer'
|
||||||
next='project-information'
|
next='project-information'
|
||||||
|
|
||||||
data-trans='label-name=project.edit.labelName;label-customer.name=project.edit.labelCustomer;submit-button=project.edit.buttonSubmit'
|
data-trans='label-name=project.edit.labelName;label-customer.name=project.edit.labelCustomer;submit-button=project.edit.buttonSubmit;label-description=project.edit.labelDescription;value-help=project.edit.descriptionHelp'
|
||||||
)
|
)
|
||||||
|
|
||||||
h2(data-trans='project.edit.subTitle')
|
h2(data-trans='project.edit.subTitle')
|
||||||
|
@ -34,7 +34,7 @@ solid-router(default-route='project-profile', hidden)
|
|||||||
solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonModify')
|
solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonModify')
|
||||||
solid-ac-checker(no-permission='acl:Delete', bind-resources)
|
solid-ac-checker(no-permission='acl:Delete', bind-resources)
|
||||||
solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonAdd')
|
solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources data-trans='project.profile.buttonAdd')
|
||||||
|
|
||||||
div.flex.desktop-button__end
|
div.flex.desktop-button__end
|
||||||
solid-ac-checker(permission='acl:Delete', bind-resources)
|
solid-ac-checker(permission='acl:Delete', bind-resources)
|
||||||
solid-delete(
|
solid-delete(
|
||||||
@ -71,6 +71,17 @@ solid-router(default-route='project-profile', hidden)
|
|||||||
hubl-inherit-user-id="search-value-user"
|
hubl-inherit-user-id="search-value-user"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
solid-display.mobile-margin__bottom(
|
||||||
|
bind-resources
|
||||||
|
fields='label-description, description'
|
||||||
|
|
||||||
|
value-label-description=''
|
||||||
|
data-trans='value-label-description=project.profile.description',
|
||||||
|
class-label-description='h2-like'
|
||||||
|
|
||||||
|
widget-description='solid-display-value-markdown'
|
||||||
|
)
|
||||||
|
|
||||||
.flex.space-between
|
.flex.space-between
|
||||||
solid-display(
|
solid-display(
|
||||||
bind-resources
|
bind-resources
|
||||||
|
Loading…
Reference in New Issue
Block a user