mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge pull request #16410 from snipe/#16407_component_checkout_and_notes_fix
Fixed #16407 - weird layout on components for non super user
This commit is contained in:
commit
acaa3a28e7
|
@ -199,7 +199,7 @@
|
|||
<div class="col-md-12">
|
||||
{!! nl2br(Helper::parseEscapedMarkedownInline($component->notes)) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
@can('update', $component)
|
||||
|
@ -211,7 +211,7 @@
|
|||
</div>
|
||||
@endcan
|
||||
|
||||
@can('checkout', Component::class)
|
||||
@can('checkout', $component)
|
||||
<div class="col-md-12 hidden-print" style="padding-top: 5px;">
|
||||
<a href="{{ route('components.checkout.show', $component->id) }}" class="btn btn-sm bg-maroon btn-social btn-block hidden-print">
|
||||
<x-icon type="checkout" />
|
||||
|
|
Loading…
Reference in a new issue