diff --git a/src/Resources/views/Admin/UiElement/job_offer_ui_element.html.twig b/src/Resources/views/Admin/UiElement/job_offer_ui_element.html.twig index cb59543..ea2b4a4 100644 --- a/src/Resources/views/Admin/UiElement/job_offer_ui_element.html.twig +++ b/src/Resources/views/Admin/UiElement/job_offer_ui_element.html.twig @@ -11,32 +11,32 @@ element fields: #}
{% if element.display == constant('MonsieurBiz\\SyliusUiElementsPlugin\\Form\\Type\\UiElement\\JobOfferUiElementType::DISPLAY_SYNTHESIS') %} -
+ {% if element.title|default('') is not empty %}

{{ element.title }}

{% endif %} - {% if element.contract|default('') is not empty %} -
{{ element.contract }}
- {% endif %} - {% if element.localisation|default('') is not empty %} -
{{ element.localisation }}
- {% endif %} - {% if element.url|default('') is not empty %} -
{{ element.url }} - {% endif %} -
+
+ {% if element.contract|default('') is not empty %} +
{{ element.contract }}
+ {% endif %} + {% if element.localisation|default('') is not empty %} +
{{ element.localisation }}
+ {% endif %} +
+ {% elseif element.display == constant('MonsieurBiz\\SyliusUiElementsPlugin\\Form\\Type\\UiElement\\JobOfferUiElementType::DISPLAY_COMPLETE') %}
{% if element.title|default('') is not empty %}

{{ element.title }}

{% endif %} - {% if element.contract|default('') is not empty %} -
{{ element.contract }}
- {% endif %} - {% if element.localisation|default('') is not empty %} -
{{ element.localisation }}
- {% endif %} - +
+ {% if element.contract|default('') is not empty %} +
{{ element.contract }}
+ {% endif %} + {% if element.localisation|default('') is not empty %} +
{{ element.localisation }}
+ {% endif %} +
{% if element.content|default('') %}
{{ element.content|raw }} diff --git a/src/Resources/views/Shop/UiElement/job_offer_ui_element.html.twig b/src/Resources/views/Shop/UiElement/job_offer_ui_element.html.twig index 7fd237a..0082103 100644 --- a/src/Resources/views/Shop/UiElement/job_offer_ui_element.html.twig +++ b/src/Resources/views/Shop/UiElement/job_offer_ui_element.html.twig @@ -15,25 +15,28 @@ element fields: {% if element.title|default('') is not empty %}

{{ element.title }}

{% endif %} - {% if element.contract|default('') is not empty %} -
{{ element.contract }}
- {% endif %} - {% if element.localisation|default('') is not empty %} -
{{ element.localisation }}
- {% endif %} +
+ {% if element.contract|default('') is not empty %} +
{{ element.contract }}
+ {% endif %} + {% if element.localisation|default('') is not empty %} +
{{ element.localisation }}
+ {% endif %} +
{% elseif element.display == constant('MonsieurBiz\\SyliusUiElementsPlugin\\Form\\Type\\UiElement\\JobOfferUiElementType::DISPLAY_COMPLETE') %}
{% if element.title|default('') is not empty %}

{{ element.title }}

{% endif %} - {% if element.contract|default('') is not empty %} -
{{ element.contract }}
- {% endif %} - {% if element.localisation|default('') is not empty %} -
{{ element.localisation }}
- {% endif %} - +
+ {% if element.contract|default('') is not empty %} +
{{ element.contract }}
+ {% endif %} + {% if element.localisation|default('') is not empty %} +
{{ element.localisation }}
+ {% endif %} +
{% if element.content|default('') %}
{{ element.content|raw }}