@* Cover and title/artist link to the detail page; the play button (below, outside any
anchor) stays the sole playback entry point. display:contents keeps the grid intact. *@
@if (hasLink)
{
@if (hasLink)
{
@TrackModel?.TrackName
@TrackModel?.Artist
}
else
{
@TrackModel?.TrackName
@TrackModel?.Artist
}
@if (!string.IsNullOrEmpty(TrackModel?.Album))
{
@TrackModel.Album
}
@if (!string.IsNullOrEmpty(TrackModel?.Genre))
{
@TrackModel.Genre
}
@if (TrackModel?.ReleaseDate.HasValue == true)
{
@TrackModel.ReleaseDate.Value.Year
}
else
{
}