Added models router to BS tables

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-28 15:56:18 -07:00
parent c90ed9f25f
commit 95d4f7c62e

View file

@ -322,6 +322,9 @@
} else if (value.type == 'location') {
item_destination = 'locations'
item_icon = 'fas fa-map-marker-alt';
} else if (value.type == 'model') {
item_destination = 'models'
item_icon = '';
}
return '<nobr><a href="{{ url('/') }}/' + item_destination +'/' + value.id + '" data-tooltip="true" title="' + value.type + '"><i class="' + item_icon + ' text-{{ $snipeSettings->skin!='' ? $snipeSettings->skin : 'blue' }} "></i> ' + value.name + '</a></nobr>';