From 3f869e9ca5752dc7d85cf4634b770e9c61504d07 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 27 Oct 2021 11:14:27 +0200 Subject: [PATCH] further implementation in vue elements --- .../Resources/public/module/blur/blur.scss | 4 +- .../public/vuejs/_components/Confidential.vue | 3 +- .../Resources/views/layout.html.twig | 1 + .../public/vuejs/AccompanyingCourse/App.vue | 2 +- .../components/Requestor.vue | 58 ++++++++++++++++++- .../Entity/ThirdParty.php | 1 + .../Entity/ThirdPartyRenderBox.vue | 41 +++++++++---- .../views/Entity/thirdparty.html.twig | 2 +- .../views/ThirdParty/index.html.twig | 2 +- .../Normalizer/ThirdPartyNormalizer.php | 1 + 10 files changed, 97 insertions(+), 18 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/module/blur/blur.scss b/src/Bundle/ChillMainBundle/Resources/public/module/blur/blur.scss index b2d0feb14..ec96289de 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/module/blur/blur.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/module/blur/blur.scss @@ -1,9 +1,9 @@ .confidential{ display: flex; - align-items: center; } .toggle{ - margin-left: 10px; + margin-left: 30px; + margin-top: 5px; cursor: pointer; } .blur { diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Confidential.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Confidential.vue index d24c93311..5fe040e14 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Confidential.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Confidential.vue @@ -23,9 +23,10 @@ export default { } - diff --git a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php index bd40c1108..2ce2c2185 100644 --- a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php +++ b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php @@ -173,6 +173,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface /** * @var bool * @ORM\Column(name="contact_data_anonymous", type="boolean", options={"default":false}) + * @Groups({"read"}) */ private bool $contactDataAnonymous = false; diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue index 8b8fc6449..1504bdfb9 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue +++ b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/Entity/ThirdPartyRenderBox.vue @@ -5,7 +5,6 @@
@@ -73,6 +90,7 @@