mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[person] Feature: on evaluation, add an url field on the admin
This commit is contained in:
parent
29b24fa506
commit
cdb9d967ff
@ -13,6 +13,7 @@ and this project adheres to
|
|||||||
<!-- write down unreleased development here -->
|
<!-- write down unreleased development here -->
|
||||||
* [workflow]: Fixed: the notification is sent when the user is added to the first step.
|
* [workflow]: Fixed: the notification is sent when the user is added to the first step.
|
||||||
* [budget] Feature: allow to desactivate some charges and resources, adding an `active` key in the configuration
|
* [budget] Feature: allow to desactivate some charges and resources, adding an `active` key in the configuration
|
||||||
|
* [person] Feature: on Evaluation, allow to configure an URL from the admin
|
||||||
|
|
||||||
## Test releases
|
## Test releases
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ use Chill\MainBundle\Form\Type\TranslatableStringFormType;
|
|||||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||||
use Chill\PersonBundle\Entity\SocialWork\Evaluation;
|
use Chill\PersonBundle\Entity\SocialWork\Evaluation;
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
|
use Symfony\Component\Form\Extension\Core\Type\UrlType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
|
||||||
@ -40,6 +41,10 @@ class EvaluationType extends AbstractType
|
|||||||
->add('title', TranslatableStringFormType::class, [
|
->add('title', TranslatableStringFormType::class, [
|
||||||
'label' => 'Nom',
|
'label' => 'Nom',
|
||||||
])
|
])
|
||||||
|
->add('url', UrlType::class, [
|
||||||
|
'label' => 'evaluation.url',
|
||||||
|
'required' => false,
|
||||||
|
])
|
||||||
->add('delay', DateIntervalType::class, [
|
->add('delay', DateIntervalType::class, [
|
||||||
'label' => 'evaluation.delay',
|
'label' => 'evaluation.delay',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
@ -675,6 +675,7 @@ origin:
|
|||||||
evaluation:
|
evaluation:
|
||||||
delay: Délai
|
delay: Délai
|
||||||
notificationDelay: Délai de notification
|
notificationDelay: Délai de notification
|
||||||
|
url: Lien internet
|
||||||
|
|
||||||
goal:
|
goal:
|
||||||
desactivationDate: Date de désactivation
|
desactivationDate: Date de désactivation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user