diff --git a/resources/views/components/lastfm.blade.php b/resources/views/components/lastfm.blade.php index 75ec064..a44afc5 100644 --- a/resources/views/components/lastfm.blade.php +++ b/resources/views/components/lastfm.blade.php @@ -11,15 +11,11 @@

Last.fm (Profile)

Last/Current Track: {{ $current_track->name }} • {{ $current_track->artist }}

Top {{ $cfg['toptracks'] }} Tracks (Last 7 days)

-
    @foreach ($toptracks as $track) @if ($count >= $cfg['toptracks']) -
@break @endif -
  • - {{ $track->name }} • {{ $track->artist }} - ({{ $track->plays }} plays) -
  • + {{ str_pad($count+1, 2, '0', STR_PAD_LEFT) }}] {{ $track->name }} • {{ $track->artist }} + ({{ $track->plays }} plays)
    @php $count++ @endphp @endforeach