Last change
on this file since dfae77e was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago |
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[dfae77e] | 1 | @if(count($artists) > 0)
|
---|
| 2 |
|
---|
| 3 | @foreach($artists as $artist)
|
---|
| 4 | <div class="col-lg-4 artist-small-card">
|
---|
| 5 | <div class="card w-100 mb-3">
|
---|
| 6 | <div class="card-body">
|
---|
| 7 | <div class="d-flex mb-3" style="align-items: center">
|
---|
| 8 | <h5 class="card-title m-0">{{ $artist->user->name }}</h5>
|
---|
| 9 | <p class="badge bg-dark"
|
---|
| 10 | style="margin-left: 5px; margin-top: 1px">{{ $artist->artist_type->name }}</p>
|
---|
| 11 | </div>
|
---|
| 12 | <p class="card-text">{{ $artist->short_description }}</p>
|
---|
| 13 | <div class="genres mt-1 mb-3">
|
---|
| 14 | @foreach($artist->genres as $genre)
|
---|
| 15 | <p class="badge bg-light text-dark">{{ $genre->name }}</p>
|
---|
| 16 | @endforeach
|
---|
| 17 | </div>
|
---|
| 18 | <a href="/{{ $artist->user->username }}" class="btn btn-primary">View Artist</a>
|
---|
| 19 | </div>
|
---|
| 20 | </div>
|
---|
| 21 | </div>
|
---|
| 22 | @endforeach
|
---|
| 23 | @else
|
---|
| 24 | <div>No Artists :(</div>
|
---|
| 25 | @endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.