Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_ohana
Commits
ad637fa6
Commit
ad637fa6
authored
1 year ago
by
Eric Bremner
Committed by
Lily Yan
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
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
!97
ISTWCMS-6122: ensure that rate of pay for opportunities only displays when there is a value
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/patterns/04-components/card/card-elements/_rate-of-pay.twig
+11
-9
11 additions, 9 deletions
...tterns/04-components/card/card-elements/_rate-of-pay.twig
with
11 additions
and
9 deletions
src/patterns/04-components/card/card-elements/_rate-of-pay.twig
+
11
−
9
View file @
ad637fa6
{%
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
%}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment