1- < div class ="songList_item_container_artwork "
2- ng-class ="{ active: hover } "
3- ng-mouseover ="hover = true "
4- ng-mouseleave ="hover = false ">
5- < span class ="songList_item_song_button "
6- id ="{{ data.id }} "
7- song
8- data-song-url ="{{ data.stream_url }} "
9- data-song-thumbnail ="{{ data.artwork_url }} "
10- data-song-title ="{{ data.title }} "
11- data-song-user ="{{ data.user.username }} "
12- data-song-user-id ="{{ data.user.id }} "
13- data-song-id ="{{ data.id }} " >
1+ < div class ="songList_item_container_artwork " ng-class ="{ active: hover } " ng-mouseover ="hover = true " ng-mouseleave ="hover = false ">
2+ < span class ="songList_item_song_button " id ="{{ data.id }} " song data-song-url ="{{ data.stream_url }} " data-song-thumbnail ="{{ data.artwork_url }} "
3+ data-song-title ="{{ data.title }} " data-song-user ="{{ data.user.username }} " data-song-user-id ="{{ data.user.id }} " data-song-id ="{{ data.id }} ">
144
155 < i class ="fa fa-play "> </ i >
166 < i class ="fa fa-pause "> </ i >
177 </ span >
18- < img ng-controller ="AppCtrl " ng-src ="{{ showBigArtwork (data.artwork_url) }} " onerror ="if (this.src != 'public/img/logo-short.png') this.src = 'public/img/logo-short.png'; " alt ="{{ data.title }} " class ="songList_item_artwork ">
19- < div class ="songList_item_song_social_details ">
20- < span class ="songList_comment_count ">
8+ < img ng-controller ="AppCtrl " ng-src ="{{ showBigArtwork (data.artwork_url) }} " onerror ="if (this.src != 'public/img/logo-short.png') this.src = 'public/img/logo-short.png'; "
9+ alt ="{{ data.title }} " class ="songList_item_artwork ">
10+ < div class ="songList_item_song_social_details ">
11+ < span class ="songList_comment_count ">
2112 < i class ="fa fa-comments "> </ i > {{data.comment_count | round}}
2213 </ span >
23- < span class ="songList_likes_count ">
14+ < span class ="songList_likes_count ">
2415 < i class ="fa fa-heart "> </ i > {{data.likes_count || data.favoritings_count | round}}
2516 </ span >
26- < span class ="songList_reposts_count " ng-if ="data.reposts_count ">
17+ < span class ="songList_reposts_count " ng-if ="data.reposts_count ">
2718 < i class ="fa fa-retweet "> </ i > {{data.reposts_count | round}}
2819 </ span >
29- </ div >
20+ </ div >
3021</ div >
3122
3223< section class ="songList_item_inner ">
33- < h2 class ="songList_item_song_tit selectable-text " title ="{{ data.title }} " ui-sref ="track({id: {{data.id}}}) "> {{ data.title }}</ h2 >
24+ < h2 class ="songList_item_song_tit selectable-text " title ="{{ data.title }} " ui-sref ="track({id: {{data.id}}}) "> {{ data.title }}</ h2 >
3425
35- < h3 class ="songList_item_song_info clearfix ">
36- < div class ="songList_item_song_user selectable-text ">
37- < a class ="pointer " ui-sref ="profile({id: {{data.user.id}}}) ">
26+ < h3 class ="songList_item_song_info clearfix ">
27+ < div class ="songList_item_song_user selectable-text ">
28+ < a class ="pointer " ui-sref ="profile({id: {{data.user.id}}}) ">
3829 {{ data.user.username }}
3930 </ a >
40- < span class ="songList_item_repost " ng-if ="type === 'track-repost' ">
31+ < span class ="songList_item_repost " ng-if ="type === 'track-repost' ">
4132 < i class ="fa fa-retweet "> </ i >
4233 < a class ="pointer " ui-sref ="profile({ id: {{ user.id }} }) " title ="Reposted by {{ user.username }} ">
4334 {{ user.username }}
4435 </ a >
4536 </ span >
46- </ div >
47- < div ng-controller ="AppCtrl " class ="songList_item_song_length ">
48- {{ formatSongDuration (data.duration) }}
49- </ div >
50- </ h3 >
37+ </ div >
38+ < div ng-controller ="AppCtrl " class ="songList_item_song_length ">
39+ {{ formatSongDuration (data.duration) }}
40+ </ div >
41+ </ h3 >
5142
52- < div class ="songList_item_song_details ">
53- < div class ="songList_item_actions ">
54- < a favorite-song data-song-id ="{{ data.id }} " favorite ="data.user_favorite " count ="data.favoritings_count " ng-class ="{liked: data.user_favorite} " title ="{{data.user_favorite ? 'Unlike' : 'Like'}} ">
55- < i class ="fa fa-heart "> </ i >
56- </ a >
57- < a reposted-song data-song-id ="{{ data.id }} " reposted ="data.user_reposted " ng-class ="{ reposted: data.user_reposted } " title ="{{data.user_reposted ? 'Unpost' : 'Repost'}} " ng-if ="data.user.id !== $root.userId ">
58- < i class ="fa fa-retweet "> </ i >
59- </ a >
60- < a data-song-id ="{{ data.id }} " data-song-name ="{{ data.title }} " playlist title ="Add to playlist "> < i class ="fa fa-bookmark "> </ i > </ a >
61- < a href ="{{ data.permalink_url }} " open-external target ="_blank " title ="Permalink "> < i class ="fa fa-external-link "> </ i > </ a >
62- < a copy-directive data-copy ="{{ data.permalink_url }} " title ="Copy "> < i class ="fa fa-clipboard "> </ i > </ a >
63- </ div >
64- < div class ="songList_item_additional_details ">
65- < span class ="songList_item_genre " ui-sref ="tag({name: data.genre}) "> #{{ data.genre }}</ span >
66- < span class ="songList_item_license "> {{ data.license }}</ span >
67- </ div >
68- </ div >
69- </ section >
43+ < div class ="songList_item_song_details ">
44+ < div class ="songList_item_actions ">
45+ < a favorite-song data-song-id ="{{ data.id }} " favorite ="data.user_favorite " count ="data.favoritings_count " ng-class ="{liked: data.user_favorite} "
46+ title ="{{data.user_favorite ? 'Unlike' : 'Like'}} ">
47+ < i class ="fa fa-heart "> </ i >
48+ </ a >
49+ < a reposted-song data-song-id ="{{ data.id }} " reposted ="data.user_reposted " ng-class ="{ reposted: data.user_reposted } " title ="{{data.user_reposted ? 'Unpost' : 'Repost'}} "
50+ ng-if ="data.user.id !== $root.userId ">
51+ < i class ="fa fa-retweet "> </ i >
52+ </ a >
53+ < a data-song-id ="{{ data.id }} " data-song-name ="{{ data.title }} " playlist title ="Add to playlist "> < i class ="fa fa-bookmark "> </ i > </ a >
54+ < a href ="{{ data.permalink_url }} " open-external target ="_blank " title ="Permalink "> < i class ="fa fa-external-link "> </ i > </ a >
55+ < a copy-directive data-copy ="{{ data.permalink_url }} " title ="Copy "> < i class ="fa fa-clipboard "> </ i > </ a >
56+ </ div >
57+ < div class ="songList_item_additional_details ">
58+ < span class ="songList_item_genre " ui-sref ="tag({name: data.genre}) "> #{{ data.genre }}</ span >
59+ < span class ="songList_item_license "> {{ data.license }}</ span >
60+ </ div >
61+ </ div >
62+ </ section >
0 commit comments