Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
c87d661d
Commit
c87d661d
authored
Apr 05, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
history page update
parent
1e908e93
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
custom.js
themes/custom/envigo/js/custom.js
+31
-0
views-view-unformatted--history--block-1.html.twig
themes/custom/envigo/templates/views/views-view-unformatted--history--block-1.html.twig
+2
-2
No files found.
themes/custom/envigo/js/custom.js
View file @
c87d661d
...
...
@@ -405,6 +405,36 @@
});
}
if
(
$
(
".history-year__global-blue"
).
length
)
{
$
(
".history-year__global-blue"
).
slick
({
dots
:
false
,
infinite
:
true
,
autoplay
:
true
,
autoplaySpeed
:
2000
,
speed
:
3000
,
slidesToShow
:
6
,
slidesToScroll
:
6
,
arrows
:
false
,
responsive
:
[{
breakpoint
:
991
,
settings
:
{
arrows
:
true
,
slidesToShow
:
3
,
slidesToScroll
:
3
,
},
},
{
breakpoint
:
767
,
settings
:
{
slidesToShow
:
2
,
slidesToScroll
:
2
,
},
},
],
});
}
if
(
$
(
".history-year__india"
).
length
)
{
$
(
".history-year__india"
).
slick
({
dots
:
false
,
...
...
@@ -537,6 +567,7 @@
});
//when the slick slide initializes we want to set all of our slides to the same height
$
(
".b_slider_m_c_box"
).
on
(
"setPosition"
,
function
()
{
jbResizeSlider
();
...
...
themes/custom/envigo/templates/views/views-view-unformatted--history--block-1.html.twig
View file @
c87d661d
...
...
@@ -54,8 +54,8 @@
<span></span>
</div>
</div>
<div
class=
"hs_wrap_c"
>
<ul
class=
"count_li_item"
>
<div
class=
"hs_wrap_c
historyscrollerPane
"
>
<ul
class=
"count_li_item
history-year__global-blue
"
>
{%
for
row
in
rows
%}
{%
if
row.content
[
'#view'
]
.
style_plugin.render_tokens
[
loop.index0
][
'{{ field_history_category }}'
]
==
'Product History'
%}
<li
class=
"blue"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment