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
09369aff
Commit
09369aff
authored
1 week ago
by
Martin Leblanc
Committed by
Kevin Paxman
5 days ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5650: Revert to previous version of twig and add new
parent
a6e76504
No related branches found
Branches containing commit
No related tags found
1 merge request
!273
Feature/istwcms 5650 m26lebla owl carousel replacement
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/patterns/04-components/facts-and-figures/facts-and-figures.twig
+9
-1
9 additions, 1 deletion
...ns/04-components/facts-and-figures/facts-and-figures.twig
with
9 additions
and
1 deletion
src/patterns/04-components/facts-and-figures/facts-and-figures.twig
+
9
−
1
View file @
09369aff
<div
id=
"uw-ff-
{{
ffs.id
}}
"
class=
"uw-ff
{%
if
ffs.show
%}
uw-ff--with-bubbles uw-ff--with-bubbles__
{{
ffs.bg_colour
}}{%
else
%}
uw-ff__
{{
ffs.bg_colour
}}{%
endif
%}
"
data-carousel=
"
{{
ffs.num_per_carousel
?
'yes'
:
'no'
}}
"
data-num-per-carousel=
"
{{
ffs.num_per_carousel
}}
"
data-id=
"
{{
ffs.id
}}
"
>
<div
id=
"uw-ff-
{{
ffs.id
}}
"
class=
"uw-ff
{%
if
ffs.show
%}
uw-ff--with-bubbles uw-ff--with-bubbles__
{{
ffs.bg_colour
}}{%
else
%}
uw-ff__
{{
ffs.bg_colour
}}{%
endif
%}
{%
if
ffs.num_per_carousel
==
ffs.details
|
length
%}
uw-hide-ff-nav
{%
endif
%}
{%
if
ffs.num_per_carousel
==
'1'
and
ffs.details
|
length
==
'1'
%}
uw-hide-ff-nav-all
{%
endif
%}
"
data-carousel=
"
{{
ffs.num_per_carousel
?
'yes'
:
'no'
}}
"
data-num-per-carousel=
"
{{
ffs.num_per_carousel
}}
"
data-id=
"
{{
ffs.id
}}
"
>
<div
class=
"uw-ff--wrapper uw-ff--wrapper__text-
{{
ffs.text_align
}}
{{
ffs.num_per_carousel
?
'uw-ff--carousel'
:
'uw-ff--no-carousel'
}}
{{
ffs.theme
}}
"
>
{%
if
ffs.num_per_carousel
>=
1
%}
{%
embed
'@layouts/carousel/carousel.twig'
%}
...
...
@@ -22,4 +22,12 @@
{%
endfor
%}
{%
endif
%}
</div>
{%
if
ffs.num_per_carousel
%}
<div
class=
"uw-button--wrap"
>
<button
tabindex=
"0"
class=
"uw-button--previous"
>
<
Prev
</
button
>
<button
tabindex=
"0"
class=
"uw-button--next"
>
Next >
</button>
</div>
{%
endif
%}
</div>
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