mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Small manufacturer display tweaks on license view to make text clearer, link phone
This commit is contained in:
parent
9f2fc21649
commit
d7c9fcc8df
|
@ -125,7 +125,7 @@
|
||||||
@if ($license->manufacturer)
|
@if ($license->manufacturer)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ trans('admin/hardware/form.manufacturer') }}</td>
|
<td>{{ trans('admin/hardware/form.manufacturer') }}</td>
|
||||||
<td>
|
<td><p style="line-height: 23px;">
|
||||||
@can('view', \App\Models\Manufacturer::class)
|
@can('view', \App\Models\Manufacturer::class)
|
||||||
<a href="{{ route('manufacturers.show', $license->manufacturer->id) }}">
|
<a href="{{ route('manufacturers.show', $license->manufacturer->id) }}">
|
||||||
{{ $license->manufacturer->name }}
|
{{ $license->manufacturer->name }}
|
||||||
|
@ -135,20 +135,23 @@
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
@if ($license->manufacturer->url)
|
@if ($license->manufacturer->url)
|
||||||
<br><i class="fa fa-globe"></i> <a href="{{ $license->manufacturer->url }}">{{ $license->manufacturer->url }}</a>
|
<br><i class="fa fa-globe"></i> <a href="{{ $license->manufacturer->url }}" rel="noopener">{{ $license->manufacturer->url }}</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($license->manufacturer->support_url)
|
@if ($license->manufacturer->support_url)
|
||||||
<br><i class="fa fa-life-ring"></i> <a href="{{ $license->manufacturer->support_url }}">{{ $license->manufacturer->support_url }}</a>
|
<br><i class="fa fa-life-ring"></i>
|
||||||
|
<a href="{{ $license->manufacturer->support_url }}" rel="noopener">{{ $license->manufacturer->support_url }}</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($license->manufacturer->support_phone)
|
@if ($license->manufacturer->support_phone)
|
||||||
<br><i class="fa fa-phone"></i> {{ $license->manufacturer->support_phone }}
|
<br><i class="fa fa-phone"></i>
|
||||||
|
<a href="tel:{{ $license->manufacturer->support_phone }}">{{ $license->manufacturer->support_phone }}</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($license->manufacturer->support_email)
|
@if ($license->manufacturer->support_email)
|
||||||
<br><i class="fa fa-envelope"></i> <a href="mailto:{{ $license->manufacturer->support_email }}">{{ $license->manufacturer->support_email }}</a>
|
<br><i class="fa fa-envelope"></i> <a href="mailto:{{ $license->manufacturer->support_email }}">{{ $license->manufacturer->support_email }}</a>
|
||||||
@endif
|
@endif
|
||||||
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue