Skip to content
Snippets Groups Projects
Commit ad637fa6 authored by Eric Bremner's avatar Eric Bremner Committed by Lily Yan
Browse files

ISTWCMS-6122: ensure that rate of pay for opportunities only displays when there is a value

parent ed238c5c
No related branches found
No related tags found
1 merge request!97ISTWCMS-6122: ensure that rate of pay for opportunities only displays when there is a value
{% include '@components/label/label.twig' with {
'label': 'Rate of pay'
} %}
{% if rate_of_pay and rate_of_pay_type %}
{{ rate_of_pay }} ({{ rate_of_pay_type[0].title }})
{% elseif rate_of_pay_type %}
{{ rate_of_pay_type }}
{% else %}
{{ rate_of_pay }}
{% if rate_of_pay %}
{% include '@components/label/label.twig' with {
'label': 'Rate of pay'
} %}
{% if rate_of_pay and rate_of_pay_type %}
{{ rate_of_pay }} ({{ rate_of_pay_type[0].title }})
{% elseif rate_of_pay_type %}
{{ rate_of_pay_type }}
{% else %}
{{ rate_of_pay }}
{% endif %}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment