Skip to content

A free open source IT asset/license management system

Changed formatting just a bit

snipe51aa66a77db6
diff --git a/resources/views/blade/info-panel/index.blade.php b/resources/views/blade/info-panel/index.blade.php
index 47200f7530..cfb0e3edc2 100644
--- a/resources/views/blade/info-panel/index.blade.php
+++ b/resources/views/blade/info-panel/index.blade.php
@@ -234,9 +234,9 @@
</x-info-element>
</x-info-element>
@else
- <x-info-element icon_type="company" icon_color="{{ $infoPanelObj->companies->first()->tag_color }}" title="{{ trans('general.company') }}">
+ <x-info-element icon_type="company" icon_color="{{ $infoPanelObj->company->tag_color }}" title="{{ trans('general.company') }}">
<x-copy-to-clipboard class="pull-right" copy_what="company">
- {!! $infoPanelObj->companies->first()->present()->formattedNameLink !!}
+ {!! $infoPanelObj->companies->first()->present()->nameUrl !!}
</x-copy-to-clipboard>
</x-info-element>
@endif
@@ -244,7 +244,7 @@
@elseif ($infoPanelObj->company)
<x-info-element icon_type="company" icon_color="{{ $infoPanelObj->company->tag_color }}" title="{{ trans('general.company') }}">
<x-copy-to-clipboard class="pull-right" copy_what="company">
- {!! $infoPanelObj->company->present()->formattedNameLink !!}
+ {!! $infoPanelObj->company->present()->nameUrl !!}
</x-copy-to-clipboard>
</x-info-element>
@endif