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
83a16082
Commit
83a16082
authored
Aug 22, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed song item in search
parent
406d51bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
templates/search/index.html.twig
templates/search/index.html.twig
+1
-18
No files found.
templates/search/index.html.twig
View file @
83a16082
...
...
@@ -51,24 +51,7 @@
</div>
<div
class=
"song-list"
>
{%
for
song
in
results.songs
%}
<a
class=
"song-item"
href=
"
{{
path
(
'song.detail'
,
{
songId
:
song.id
}
)
}}
"
>
<div
class=
"song-cover"
style=
"background-image: url(
{{
asset
(
"uploads/thumbnail/"
~
song.fileReference
~
".jpg?v="
~
date
()
.
timestamp
)
}}
), url(
{{
asset
(
"assets/img/defaultAlbumArt.jpg"
)
}}
);"
>
<div
class=
"song-charter-info"
>
<div
class=
"song-charter"
><i
class=
"mdi mdi-account-circle"
></i><span>
{{
song.charter
|
default
(
'Unknown'
)
}}
</span></div>
</div>
</div>
<div
class=
"song-metadata"
>
<div
class=
"song-title"
>
{{
song.title
|
default
(
'Untitles'
)
}}
</div>
<div
class=
"song-artist"
>
{{
song.artist
|
default
(
'Unknown'
)
}}
</div>
<div
class=
"song-difficulties"
>
<img
src=
"
{{
asset
(
'assets/img/difficultyEasy.svg'
)
}}
"
class=
"
{{
song.hasEasyDifficulty
?
"active"
:
""
}}
"
alt=
"Easy Difficulty"
/>
<img
src=
"
{{
asset
(
'assets/img/difficultyNormal.svg'
)
}}
"
class=
"
{{
song.hasNormalDifficulty
?
"active"
:
""
}}
"
alt=
"Normal Difficulty"
/>
<img
src=
"
{{
asset
(
'assets/img/difficultyHard.svg'
)
}}
"
class=
"
{{
song.hasHardDifficulty
?
"active"
:
""
}}
"
alt=
"Hard Difficulty"
/>
<img
src=
"
{{
asset
(
'assets/img/difficultyExtreme.svg'
)
}}
"
class=
"
{{
song.hasExtremeDifficulty
?
"active"
:
""
}}
"
alt=
"Extreme Difficulty"
/>
<img
src=
"
{{
asset
(
'assets/img/difficultyXD.svg'
)
}}
"
class=
"
{{
song.hasXDDifficulty
?
"active"
:
""
}}
"
alt=
"xD Difficulty"
/>
</div>
</div>
</a>
{{
include
(
'components/song-item.html.twig'
,
{
song
:
song
}
)
}}
{%
endfor
%}
</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