Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Backend Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Backend Server
Commits
f1ee3a91
Commit
f1ee3a91
authored
Jan 27, 2021
by
SeeBeyond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mis-matched navigation buttons
parent
56346ee1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
templates/index/hotThisMonth.html.twig
templates/index/hotThisMonth.html.twig
+3
-3
templates/index/hotThisWeek.html.twig
templates/index/hotThisWeek.html.twig
+3
-3
No files found.
templates/index/hotThisMonth.html.twig
View file @
f1ee3a91
...
...
@@ -9,15 +9,15 @@
</div>
<div
class=
"pagination"
>
{%
if
hotMonthOffset
>
0
%}
<a
href=
"
{{
path
(
'index.hotThis
Week
'
,
{
hotMonthOffset
:
hotMonthOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
<a
href=
"
{{
path
(
'index.hotThis
Month
'
,
{
hotMonthOffset
:
hotMonthOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
{%
else
%}
<a
class=
"button button-disabled"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
{%
endif
%}
{%
if
hotMonthSongs
|
length
<
10
%}
<a
class=
"button button-disabled"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
else
%}
<a
href=
"
{{
path
(
'index.hotThis
Week
'
,
{
hotMonthOffset
:
hotMonthOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
<a
href=
"
{{
path
(
'index.hotThis
Month
'
,
{
hotMonthOffset
:
hotMonthOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
endif
%}
</div>
</div>
{%
endblock
%}
\ No newline at end of file
{%
endblock
%}
templates/index/hotThisWeek.html.twig
View file @
f1ee3a91
...
...
@@ -9,15 +9,15 @@
</div>
<div
class=
"pagination"
>
{%
if
hotWeekOffset
>
0
%}
<a
href=
"
{{
path
(
'index.hotThis
Month
'
,
{
hotWeekOffset
:
hotWeekOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
<a
href=
"
{{
path
(
'index.hotThis
Week
'
,
{
hotWeekOffset
:
hotWeekOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
{%
else
%}
<a
class=
"button button-disabled"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
{%
endif
%}
{%
if
hotWeekSongs
|
length
<
10
%}
<a
class=
"button button-disabled"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
else
%}
<a
href=
"
{{
path
(
'index.hotThis
Month
'
,
{
hotWeekOffset
:
hotWeekOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
<a
href=
"
{{
path
(
'index.hotThis
Week
'
,
{
hotWeekOffset
:
hotWeekOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
endif
%}
</div>
</div>
{%
endblock
%}
\ No newline at end of file
{%
endblock
%}
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