Fix info link for videos, limit showing duplicates to 10
This commit is contained in:
parent
ae1c8cbc28
commit
5a0e60f7c5
@ -18,7 +18,7 @@ trait Multimedia
|
||||
{
|
||||
use Type;
|
||||
|
||||
protected const list_duplicates = 20;
|
||||
protected const list_duplicates = 10;
|
||||
protected const list_deletes = 50;
|
||||
|
||||
private function controller(string $type): string
|
||||
|
1
resources/views/components/video/info.blade.php
Normal file
1
resources/views/components/video/info.blade.php
Normal file
@ -0,0 +1 @@
|
||||
<a href="{{ url('v/info',$id) }}" target="{{ $id }}">{{ $id }}</a>
|
@ -26,7 +26,7 @@
|
||||
|
||||
<div class="card-footer card-comments">
|
||||
<table class="table table-sm table-striped">
|
||||
<tr><th>ID</th><td><x-info :id="$o->id"/></td></tr>
|
||||
<tr><th>ID</th><td><x-photo.info :id="$o->id"/></td></tr>
|
||||
|
||||
@foreach($data as $k=>$v)
|
||||
<tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])>
|
||||
|
@ -31,7 +31,7 @@
|
||||
@if($vo->duplicate)<button class="btn btn-sm btn-warning">DUPLICATE</button>@endif
|
||||
@if($vo->ignore_duplicate)<button class="btn btn-sm btn-secondary">DUPLICATE IGNORE</button>@endif
|
||||
@if($vo->remove)<button class="btn btn-sm btn-danger">PENDING DELETE</button>@endif
|
||||
@if($po->flag)<button class="btn btn-sm btn-primary">FLAG</button>@endif
|
||||
@if($vo->flag)<button class="btn btn-sm btn-primary">FLAG</button>@endif
|
||||
</div>
|
||||
<div class="dl-horizontal">
|
||||
<dt>Signature</dt><dd>{{ $vo->signature(TRUE) }}</dd>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
<div class="card-footer card-comments">
|
||||
<table class="table table-sm table-striped">
|
||||
<tr><th>ID</th><td><x-info :id="$o->id"/></td></tr>
|
||||
<tr><th>ID</th><td><x-video.info :id="$o->id"/></td></tr>
|
||||
|
||||
@foreach($data as $k=>$v)
|
||||
<tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])>
|
||||
|
Loading…
Reference in New Issue
Block a user