<div class="video-metadata">
	<ul class="list-group list-group-horizontal indexedit">
		@if($video->interpret) <li class="list-group-item"><div class="artist">
			<strong>Artist:</strong> {{$video->interpret}}
		</div></li>@endif
		@if($video->songtitle) <li class="list-group-item"><div class="songtitle">
			<strong>Songtitle:</strong> {{$video->songtitle}}
		</div></li>@endif
		@if($video->imgsource) <li class="list-group-item"><div class="source">
			<strong>Video Source:</strong> {{$video->imgsource}}
		</div></li>@endif
		<li class="list-group-item"><div class="category">
				<strong>Category:</strong> <a class="text-dark" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
		</div></li>
		<li class="list-group-item"><div class="uploader">
			<strong>Uploader:</strong> <a class="text-dark" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time></a>
		</div></li>
		</ul>
					 @if(auth()->check() && (auth()->user()->can("edit_video") || auth()->user()->id == $video->user_id)) <a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@endif @if(auth()->check() && auth()->user()->can("delete_video"))<a class="delete_video" href="#">[del]</a>@endif 
</div>

      <div class="tags">
    <div id="tag-display" class="tag-panel-body">
        @if(count($video->tags))
            @foreach($video->tags as $tag)
                <span class="badge badge-dark"><a href="/index?q={{$tag->normalized}}" class="dark-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can("edit_video")) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
            @endforeach
        @else
            No tags yet ...
        @endif
    </div>
    
</div>
