Skip to content
Snippets Groups Projects
Commit ee25093b authored by Lily Yan's avatar Lily Yan
Browse files

Merge branch 'feature/ISTWCMS-6122-ebremner-fix-opportunities' into '1.0.x'

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

See merge request !97
parents ed238c5c ad637fa6
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