27 lines
1.4 KiB
PHP
27 lines
1.4 KiB
PHP
<div class="popover-metadata">
|
|
<div class="filesize">
|
|
<span class="dlwebm badge badge-secondary"><a class='file_size' href='{{ '/b/' . $video->file }}' download>{{ HumanReadable::bytesToHuman($video->filesize()) }}</a></span>
|
|
</div>
|
|
@if($video->videotitle) <div class="artist">
|
|
<strong>Videotitle:</strong> {{$video->videotitle}}
|
|
</div>@endif
|
|
@if($video->interpret) <div class="artist">
|
|
<strong>Artist:</strong> {{$video->interpret}}
|
|
</div>@endif
|
|
@if($video->songtitle) <div class="songtitle">
|
|
<strong>Songtitle:</strong> {{$video->songtitle}}
|
|
</div>@endif
|
|
@if($video->imgsource) <div class="source">
|
|
<strong>Video Source:</strong> @simplemd($video->imgsource)
|
|
</div>@endif
|
|
<div class="category">
|
|
<strong>Category:</strong> <a class="text-white" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
|
|
</div>
|
|
<div class="uploader">
|
|
<strong>Uploader:</strong> <a class="text-white" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span></a>
|
|
</div>
|
|
<div class="added">
|
|
<strong>Added:</strong> <a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>
|
|
</div>
|
|
</div>
|