Internal optimisations and additional flags for Photo/Video
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<li class="nav-item">
|
||||
<a href="{{ url('p/duplicates') }}" class="nav-link @if(preg_match('#^p/duplicates$#',request()->path())) active @endif">
|
||||
<i class="fa fa-link nav-icon"></i> <p>Duplicate</p>
|
||||
<span class="badge badge-warning right">{{ \App\Models\Photo::where('duplicate',TRUE)->count() }}</span>
|
||||
<span class="badge badge-warning right">{{ \App\Models\Photo::duplicates()->count() }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<li class="nav-item">
|
||||
<a href="{{ url('v/duplicates') }}" class="nav-link @if(preg_match('#^v/duplicates$#',request()->path())) active @endif">
|
||||
<i class="fa fa-link nav-icon"></i> <p>Duplicate</p>
|
||||
<span class="badge badge-warning right">{{ \App\Models\Video::where('duplicate',TRUE)->count() }}</span>
|
||||
<span class="badge badge-warning right">{{ \App\Models\Video::duplicates()->count() }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Reference in New Issue
Block a user