diff --git a/resources/views/layouts/dashboard.blade.php b/resources/views/layouts/dashboard.blade.php index 8aaf9b3..6a3fb71 100644 --- a/resources/views/layouts/dashboard.blade.php +++ b/resources/views/layouts/dashboard.blade.php @@ -3,15 +3,15 @@ @section('content')
- {!! Form::open(['route' => 'projects.index','method'=>'get','class'=>'form-inline']) !!} - {!! Form::text('q', Request::get('q'), [ + {!! Form::open(['route' => 'projects.index', 'method' => 'get', 'class' => 'form-inline']) !!} + {!! Form::text('q', null, [ 'class' => 'form-control index-search-field', - 'placeholder' => trans('project.search'), + 'placeholder' => __('project.search'), 'style' => 'width:100%;max-width:350px' ]) !!} - {!! Form::submit(trans('project.search'), ['class' => 'btn btn-info btn-sm']) !!} + {!! Form::submit(__('project.search'), ['class' => 'btn btn-info btn-sm']) !!} @can('create', new App\Entities\Projects\Project) - {{ link_to_route('projects.create', trans('project.create'), [], [ + {{ link_to_route('projects.create', __('project.create'), [], [ 'class' => 'btn btn-success pull-right', 'style' => 'margin: -2px 0px;' ]) }} diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php index aac4941..5499abd 100755 --- a/resources/views/pages/home.blade.php +++ b/resources/views/pages/home.blade.php @@ -1,12 +1,12 @@ @extends('layouts.dashboard') -@section('title', trans('nav_menu.dashboard')) +@section('title', __('nav_menu.dashboard')) @section('content-dashboard') @if (auth()->user()->hasRole('admin'))
- {{ trans('dashboard.project_status_stats') }} + {{ __('dashboard.project_status_stats') }}
@foreach(ProjectStatus::all() as $statusId => $status)
@@ -22,13 +22,13 @@
- {{ trans('dashboard.earnings_stats') }} + {{ __('dashboard.earnings_stats') }}