diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/render_box.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/render_box.scss index 2afd59fcb..dd1dc12c5 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/chill/scss/render_box.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/chill/scss/render_box.scss @@ -75,7 +75,7 @@ section.chill-entity { &::before { content: ", "; } } } - &.postalcode { + &.postcode { span.code {} span.name {} } @@ -87,7 +87,9 @@ section.chill-entity { font-style: italic; } - span.address-since, - span.address-until {} + span.address-valid { + &.address-since {} + &.address-until {} + } } } diff --git a/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig index 95692aca1..7e1c47da4 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Entity/address.html.twig @@ -24,7 +24,7 @@ {{ _self.extended(address, options) }} {% endif %} {% if address.postCode is not empty %} -

+

{{ address.postCode.code }} {{ address.postCode.name }}

@@ -71,12 +71,12 @@ {% macro validity(address, options) %} {%- if options['with_valid_from'] == true -%} - + {{ 'Since %date%'|trans( { '%date%' : address.validFrom|format_date('long') } ) }} {%- endif -%} {%- if options['with_valid_to'] == true -%} - + {{ 'Until %date%'|trans( { '%date%' : address.validTo|format_date('long') } ) }} {%- endif -%}