Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
spotify
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
web
spotify
Merge requests
!10
Resolve "Improve layout, add artists/playlists images"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Improve layout, add artists/playlists images"
12-improve-layout-add-artists-playlists-images
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Benoît Harrault
requested to merge
12-improve-layout-add-artists-playlists-images
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
Closes
#12 (closed)
Edited
3 years ago
by
Benoît Harrault
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
77a13566
1 commit,
3 years ago
2 files
+
10
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
public/index.php
+
2
−
2
Options
@@ -165,8 +165,8 @@ if ($generatePlaylistFromPlaylist) {
$playlistLink
=
'<a href="'
.
$newPlaylist
->
external_urls
->
spotify
.
'">'
.
$newPlaylistName
.
'</a>'
;
$templateData
[
'infos'
][]
=
'Ok created new playlist with '
.
count
(
$pickedTrackIds
)
.
' tracks: '
.
$playlistLink
;
}
else
{
$templateData
[
'topArtists'
]
=
$api
->
getMyTop
(
'artists'
,
[
'limit'
=>
16
,
'time_range'
=>
'short_term'
])
->
items
;
$templateData
[
'playlists'
]
=
$api
->
getUserPlaylists
(
$user
->
id
,
[
'limit'
=>
30
])
->
items
;
$templateData
[
'topArtists'
]
=
$api
->
getMyTop
(
'artists'
,
[
'limit'
=>
24
,
'time_range'
=>
'short_term'
])
->
items
;
$templateData
[
'playlists'
]
=
$api
->
getUserPlaylists
(
$user
->
id
,
[
'limit'
=>
24
])
->
items
;
}
require
'../template.php'
;
Loading