Add Blade directives for common Url functions (#10995)

This commit is contained in:
Jellyfrog
2020-01-04 16:14:50 +01:00
committed by GitHub
parent d21eb10af6
commit 0094940283
6 changed files with 20 additions and 8 deletions

View File

@@ -170,7 +170,7 @@
<strong class="green">@lang('Global Viewing Access')</strong>
@else
@forelse($devices as $device)
{!! \LibreNMS\Util\Url::deviceLink($device) !!} <br />
@deviceLink($device) <br />
@empty
<strong class="red">@lang('No access!')</strong>
@endforelse