From debdccf5f16a708894da2a82eab6178e7f43b7d0 Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Thu, 30 Apr 2020 10:35:11 -0400 Subject: [PATCH] Remove old help text translation that doesn't exist any more --- resources/views/accessories/view.blade.php | 6 ------ resources/views/consumables/view.blade.php | 11 ++++++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.php index 66e8466742..f8ec45c31f 100644 --- a/resources/views/accessories/view.blade.php +++ b/resources/views/accessories/view.blade.php @@ -101,12 +101,6 @@ numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }} @endcan - - -

{{ trans('admin/accessories/general.about_accessories_title') }}

-

{{ trans('admin/accessories/general.about_accessories_text') }}

- - @stop diff --git a/resources/views/consumables/view.blade.php b/resources/views/consumables/view.blade.php index 62d82b2ff9..a6271a2f87 100644 --- a/resources/views/consumables/view.blade.php +++ b/resources/views/consumables/view.blade.php @@ -67,7 +67,6 @@
- @if ($consumable->image!='')
{{ $consumable->name }} @@ -116,10 +115,12 @@ {{ $consumable->order_number }}
@endif -
-

{{ trans('admin/consumables/general.about_consumables_title') }}

-

{{ trans('admin/consumables/general.about_consumables_text') }}

-
+ + @can('checkout', \App\Models\Accessory::class) + + @endcan