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
a7b67c91
Commit
a7b67c91
authored
Jan 26, 2021
by
Andreas Heimann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed routes for hot pages
parent
a09d6e5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
templates/index/hotThisMonth.html.twig
templates/index/hotThisMonth.html.twig
+2
-2
templates/index/hotThisWeek.html.twig
templates/index/hotThisWeek.html.twig
+2
-2
No files found.
templates/index/hotThisMonth.html.twig
View file @
a7b67c91
...
...
@@ -9,14 +9,14 @@
</div>
<div
class=
"pagination"
>
{%
if
hotMonthOffset
>
0
%}
<a
href=
"
{{
path
(
'index.hot'
,
{
hotMonthOffset
:
hotMonthOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
<a
href=
"
{{
path
(
'index.hot
ThisWeek
'
,
{
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.hot'
,
{
hotMonthOffset
:
hotMonthOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
<a
href=
"
{{
path
(
'index.hot
ThisWeek
'
,
{
hotMonthOffset
:
hotMonthOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
endif
%}
</div>
</div>
...
...
templates/index/hotThisWeek.html.twig
View file @
a7b67c91
...
...
@@ -9,14 +9,14 @@
</div>
<div
class=
"pagination"
>
{%
if
hotWeekOffset
>
0
%}
<a
href=
"
{{
path
(
'index.hot'
,
{
hotWeekOffset
:
hotWeekOffset
-
1
}
)
}}
"
class=
"button"
><i
class=
"mdi mdi-chevron-left"
></i>
PREVIOUS
</a>
<a
href=
"
{{
path
(
'index.hot
ThisMonth
'
,
{
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.hot'
,
{
hotWeekOffset
:
hotWeekOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
<a
href=
"
{{
path
(
'index.hot
ThisMonth
'
,
{
hotWeekOffset
:
hotWeekOffset
+
1
}
)
}}
"
class=
"button"
>
NEXT
<i
class=
"mdi mdi-chevron-right"
></i></a>
{%
endif
%}
</div>
</div>
...
...
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