mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
minor class renaming
This commit is contained in:
parent
b683e60cf7
commit
f9735823c7
@ -75,7 +75,7 @@ section.chill-entity {
|
|||||||
&::before { content: ", "; }
|
&::before { content: ", "; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.postalcode {
|
&.postcode {
|
||||||
span.code {}
|
span.code {}
|
||||||
span.name {}
|
span.name {}
|
||||||
}
|
}
|
||||||
@ -87,7 +87,9 @@ section.chill-entity {
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.address-since,
|
span.address-valid {
|
||||||
span.address-until {}
|
&.address-since {}
|
||||||
|
&.address-until {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{{ _self.extended(address, options) }}
|
{{ _self.extended(address, options) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if address.postCode is not empty %}
|
{% if address.postCode is not empty %}
|
||||||
<p class="postalcode">
|
<p class="postcode">
|
||||||
<span class="code">{{ address.postCode.code }}</span>
|
<span class="code">{{ address.postCode.code }}</span>
|
||||||
<span class="name">{{ address.postCode.name }}</span>
|
<span class="name">{{ address.postCode.name }}</span>
|
||||||
</p>
|
</p>
|
||||||
@ -71,12 +71,12 @@
|
|||||||
|
|
||||||
{% macro validity(address, options) %}
|
{% macro validity(address, options) %}
|
||||||
{%- if options['with_valid_from'] == true -%}
|
{%- if options['with_valid_from'] == true -%}
|
||||||
<span class="address-since">
|
<span class="address-valid address-since">
|
||||||
{{ 'Since %date%'|trans( { '%date%' : address.validFrom|format_date('long') } ) }}
|
{{ 'Since %date%'|trans( { '%date%' : address.validFrom|format_date('long') } ) }}
|
||||||
</span>
|
</span>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if options['with_valid_to'] == true -%}
|
{%- if options['with_valid_to'] == true -%}
|
||||||
<span class="address-until">
|
<span class="address-valid address-until">
|
||||||
{{ 'Until %date%'|trans( { '%date%' : address.validTo|format_date('long') } ) }}
|
{{ 'Until %date%'|trans( { '%date%' : address.validTo|format_date('long') } ) }}
|
||||||
</span>
|
</span>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user