diff options
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/cinema_show.blade.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index f9e613f..4562a9c 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -146,18 +146,20 @@ <li> <a class="card-links" href="https://news.ycombinator.com/item?id={{ $story->story_id }}" target="_blank"> @if ($story->type === 'comment' && ! empty($story->text)) - <span class="hn-comment">Comment: {{ Str::limit(strip_tags($story->text), 80) }}</span> + <span class="hn-comment">{{ Str::limit(strip_tags($story->text), 80) }}</span> @else {{ $story->title ?: 'HN Story' }} @endif </a> - | {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }} - @if ($story->score > 0) - | <span class="badge badge-pill badge-secondary">{{ $story->score }} Upvotes</span> - @endif - @if ($story->descendants > 0) - | <span class="badge badge-pill badge-secondary">{{ $story->descendants }} Comments</span> - @endif + <small class="text-muted"> + {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }} + @if ($story->score > 0) + · <span class="badge badge-pill badge-secondary">{{ $story->score }} Upvotes</span> + @endif + @if ($story->descendants > 0) + · <span class="badge badge-pill badge-secondary">{{ $story->descendants }} Comments</span> + @endif + </small> </li> @endforeach </ul> |
