Fix info link for videos, limit showing duplicates to 10

This commit is contained in:
Deon George 2024-10-04 15:39:38 +10:00
parent ae1c8cbc28
commit 5a0e60f7c5
6 changed files with 5 additions and 4 deletions

View File

@ -18,7 +18,7 @@ trait Multimedia
{ {
use Type; use Type;
protected const list_duplicates = 20; protected const list_duplicates = 10;
protected const list_deletes = 50; protected const list_deletes = 50;
private function controller(string $type): string private function controller(string $type): string

View File

@ -0,0 +1 @@
<a href="{{ url('v/info',$id) }}" target="{{ $id }}">{{ $id }}</a>

View File

@ -26,7 +26,7 @@
<div class="card-footer card-comments"> <div class="card-footer card-comments">
<table class="table table-sm table-striped"> <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) @foreach($data as $k=>$v)
<tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])> <tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])>

View File

@ -31,7 +31,7 @@
@if($vo->duplicate)<button class="btn btn-sm btn-warning">DUPLICATE</button>@endif @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->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($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>
<div class="dl-horizontal"> <div class="dl-horizontal">
<dt>Signature</dt><dd>{{ $vo->signature(TRUE) }}</dd> <dt>Signature</dt><dd>{{ $vo->signature(TRUE) }}</dd>

View File

@ -26,7 +26,7 @@
<div class="card-footer card-comments"> <div class="card-footer card-comments">
<table class="table table-sm table-striped"> <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) @foreach($data as $k=>$v)
<tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])> <tr @class(['bg-success'=>($reference->exists && ((string)$reference->{$v[1]} === (string)$o->{$v[1]}))])>