Added files tab back to assets

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-09-25 22:59:02 -07:00
parent a7b3f98e9f
commit 65a6da5bd2

View file

@ -161,6 +161,18 @@
</span> </span>
</a> </a>
</li> </li>
<li>
<a href="#files" data-toggle="tab">
<span class="hidden-lg hidden-md">
<i class="far fa-file fa-2x" aria-hidden="true"></i>
</span>
<span class="hidden-xs hidden-sm">{{ trans('general.files') }}
{!! ($asset->uploads->count() > 0 ) ? '<badge class="badge badge-secondary">'.$asset->uploads->count().'</badge>' : '' !!}
</span>
</a>
</li>
@can('update', \App\Models\Asset::class) @can('update', \App\Models\Asset::class)
<li class="pull-right"> <li class="pull-right">