From 32b01b8f388262d2520d1b17fd1d38a130fe0876 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 3 Oct 2017 18:06:41 -0700 Subject: [PATCH] Toggle button deleted/not for models --- resources/views/models/index.blade.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/views/models/index.blade.php b/resources/views/models/index.blade.php index 4cd54d9275..4e8ba5b3c0 100755 --- a/resources/views/models/index.blade.php +++ b/resources/views/models/index.blade.php @@ -2,14 +2,26 @@ {{-- Page title --}} @section('title') -{{ trans('admin/models/table.title') }} + + @if (Input::get('status')=='deleted') + {{ trans('admin/models/general.view_deleted') }} + {{ trans('admin/models/table.title') }} + @else + {{ trans('admin/models/general.view_models') }} + @endif @parent @stop {{-- Page title --}} @section('header_right') {{ trans('general.create') }} - {{ trans('admin/models/general.view_deleted') }} + + @if (Input::get('status')=='deleted') + {{ trans('admin/models/general.view_models') }} + @else + {{ trans('admin/models/general.view_deleted') }} + @endif + @stop