mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-16 15:49:20 +08:00
Async parallel to retrieve artist's top albums as well
This commit is contained in:
+14
-6
@@ -23,23 +23,31 @@ block content
|
||||
li
|
||||
small.text-primary
|
||||
i.fa.fa-users
|
||||
strong Listeners:
|
||||
| #{artist.stats.listeners}
|
||||
| Listeners: #{artist.stats.listeners}
|
||||
li
|
||||
small.text-primary
|
||||
i.fa.fa-headphones
|
||||
strong Scrobbles:
|
||||
| #{artist.stats.playcount}
|
||||
| Scrobbles: #{artist.stats.playcount}
|
||||
p
|
||||
img(src='#{artist.image}')
|
||||
|
||||
p
|
||||
for tag in artist.tags
|
||||
span.label.label-primary
|
||||
i.fa.fa-tag
|
||||
| #{tag.name}
|
||||
|
|
||||
p!= artist.bio
|
||||
strong Similar Artists
|
||||
|
||||
.panel.panel-default
|
||||
.panel-heading Biography
|
||||
.panel-body
|
||||
!= artist.bio
|
||||
|
||||
h4 Top Albums
|
||||
for album in artist.topAlbums
|
||||
album
|
||||
|
||||
h4 Similar Artists
|
||||
ul.list
|
||||
for similarArtist in artist.similar
|
||||
li
|
||||
|
||||
Reference in New Issue
Block a user