diff options
| author | Zach DeCook <zachdecook@librem.one> | 2022-08-27 12:14:07 +0000 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2022-08-27 12:14:07 +0000 |
| commit | 2efc6d51ae82c6b781254c0497a5c08bae1d3675 (patch) | |
| tree | 7572cdd0d6c993c09ef608675b8f3f051ffaf9d7 /laravel | |
| parent | f43956489c628656c3756fd90bbd34b284644f72 (diff) | |
| download | prosongsa-2efc6d51ae82c6b781254c0497a5c08bae1d3675.tar.gz | |
index: Add music icon if it has an audio file
Diffstat (limited to 'laravel')
| -rw-r--r-- | laravel/resources/views/welcome.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/laravel/resources/views/welcome.blade.php b/laravel/resources/views/welcome.blade.php index 27167fe..b2387c0 100644 --- a/laravel/resources/views/welcome.blade.php +++ b/laravel/resources/views/welcome.blade.php @@ -22,7 +22,7 @@ @foreach( App\Song::orderBy($_GET['sort']??'title')->get() as $song ) <li> <a href='{{ route('song.show', ['song' => $song]) }}'> - {{ $song->name }} + {{ $song->name }}{{ $song->audio ? "🎵" : ""}} </a> @endforeach </ul> |
