From eda027a88c95c6ac7704f356ae5fc9805eb8d758 Mon Sep 17 00:00:00 2001 From: Joseph Cohen Date: Thu, 1 Jan 2015 15:15:07 -0600 Subject: [PATCH] Removed facades lang and url from views --- app/views/auth/login.blade.php | 12 ++--- app/views/dashboard/components/add.blade.php | 6 +-- app/views/dashboard/components/edit.blade.php | 6 +-- .../dashboard/components/index.blade.php | 6 +-- app/views/dashboard/incidents/add.blade.php | 12 ++--- .../incidents/incident-template.blade.php | 2 +- app/views/dashboard/incidents/index.blade.php | 8 ++-- app/views/dashboard/index.blade.php | 4 +- app/views/dashboard/metrics/index.blade.php | 18 ++++---- .../dashboard/notifications/index.blade.php | 16 +++---- .../dashboard/settings/app-setup.blade.php | 4 +- .../dashboard/settings/security.blade.php | 6 +-- .../dashboard/settings/stylesheet.blade.php | 6 +-- app/views/dashboard/settings/theme.blade.php | 6 +-- app/views/dashboard/user/index.blade.php | 2 +- app/views/errors/404.blade.php | 6 +-- app/views/index.blade.php | 4 +- app/views/layout/master.blade.php | 18 ++++---- app/views/partials/dashboard/head.blade.php | 18 ++++---- .../partials/dashboard/sidebar.blade.php | 44 +++++++++---------- app/views/partials/incident.blade.php | 2 +- app/views/partials/support-link.blade.php | 4 +- app/views/setup.blade.php | 30 ++++++------- 23 files changed, 120 insertions(+), 120 deletions(-) diff --git a/app/views/auth/login.blade.php b/app/views/auth/login.blade.php index 3716b4d5..a91a31ac 100644 --- a/app/views/auth/login.blade.php +++ b/app/views/auth/login.blade.php @@ -8,27 +8,27 @@ {{ Form::open() }}
- {{ Lang::get('cachet.login_message') }} + {{ trans('cachet.login_message') }} @if(Session::has('error')) {{ Session::get('error') }} @endif
- + {{ Form::email('email', Input::old('email'), [ - 'class' => 'form-control', 'placeholder' => Lang::get('cachet.forms.email'), 'required' => 'required' + 'class' => 'form-control', 'placeholder' => trans('cachet.forms.email'), 'required' => 'required' ]) }}
- + {{ Form::password('password', [ - 'class' => 'form-control', 'placeholder' => Lang::get('cachet.forms.password'), 'required' => 'required' + 'class' => 'form-control', 'placeholder' => trans('cachet.forms.password'), 'required' => 'required' ]) }}

- +
{{ Form::close() }} diff --git a/app/views/dashboard/components/add.blade.php b/app/views/dashboard/components/add.blade.php index 513f2882..c638e1cc 100644 --- a/app/views/dashboard/components/add.blade.php +++ b/app/views/dashboard/components/add.blade.php @@ -3,7 +3,7 @@ @section('content')
- {{ Lang::get('cachet.dashboard.components') }} + {{ trans('cachet.dashboard.components') }} > Create a component
@@ -29,7 +29,7 @@
@@ -51,7 +51,7 @@ - Cancel + Cancel
diff --git a/app/views/dashboard/components/edit.blade.php b/app/views/dashboard/components/edit.blade.php index 6133044e..c313e017 100644 --- a/app/views/dashboard/components/edit.blade.php +++ b/app/views/dashboard/components/edit.blade.php @@ -3,7 +3,7 @@ @section('content')
- {{ Lang::get('cachet.dashboard.components') }} + {{ trans('cachet.dashboard.components') }} > Edit component
@@ -29,7 +29,7 @@
@@ -51,7 +51,7 @@ - Cancel + Cancel
diff --git a/app/views/dashboard/components/index.blade.php b/app/views/dashboard/components/index.blade.php index 3e764d98..37840871 100644 --- a/app/views/dashboard/components/index.blade.php +++ b/app/views/dashboard/components/index.blade.php @@ -3,10 +3,10 @@ @section('content')
- {{ Lang::get('cachet.dashboard.components') }} + {{ trans('cachet.dashboard.components') }} - - {{ Lang::get('cachet.dashboard.component-add') }} + + {{ trans('cachet.dashboard.component-add') }}
diff --git a/app/views/dashboard/incidents/add.blade.php b/app/views/dashboard/incidents/add.blade.php index f2e353ca..cf55df69 100644 --- a/app/views/dashboard/incidents/add.blade.php +++ b/app/views/dashboard/incidents/add.blade.php @@ -3,7 +3,7 @@ @section('content')
- {{ Lang::get('cachet.dashboard.incident-add') }} + {{ trans('cachet.dashboard.incident-add') }} > Create an Incident
@@ -31,22 +31,22 @@
@@ -58,7 +58,7 @@ - Cancel + Cancel {{ Form::close() }}
diff --git a/app/views/dashboard/incidents/incident-template.blade.php b/app/views/dashboard/incidents/incident-template.blade.php index f4bcb105..4c9b52d6 100644 --- a/app/views/dashboard/incidents/incident-template.blade.php +++ b/app/views/dashboard/incidents/incident-template.blade.php @@ -3,7 +3,7 @@ @section('content')
- {{ Lang::get('cachet.dashboard.incident-add') }} + {{ trans('cachet.dashboard.incident-add') }} > Create an Incident Template
diff --git a/app/views/dashboard/incidents/index.blade.php b/app/views/dashboard/incidents/index.blade.php index c80ac968..7a3b896f 100644 --- a/app/views/dashboard/incidents/index.blade.php +++ b/app/views/dashboard/incidents/index.blade.php @@ -3,17 +3,17 @@ @section('content')
- {{ Lang::get('cachet.dashboard.incidents') }} + {{ trans('cachet.dashboard.incidents') }} - - {{ Lang::get('cachet.dashboard.incident-add') }} + + {{ trans('cachet.dashboard.incident-add') }}
-

{{ Lang::choice('cachet.dashboard.logged_incidents', $incidents->count(), ['count' => $incidents->count()]) }}

+

{{ trans_choice('cachet.dashboard.logged_incidents', $incidents->count(), ['count' => $incidents->count()]) }}

@foreach($incidents as $incident) diff --git a/app/views/dashboard/index.blade.php b/app/views/dashboard/index.blade.php index 0768d265..8ef3bb97 100644 --- a/app/views/dashboard/index.blade.php +++ b/app/views/dashboard/index.blade.php @@ -3,7 +3,7 @@ @section('content')
- {{ Lang::get('cachet.dashboard.dashboard') }} + {{ trans('cachet.dashboard.dashboard') }}
@@ -20,7 +20,7 @@ {{ $component->name }}
- @foreach(Lang::get('cachet.component.status') as $statusID => $status) + @foreach(trans('cachet.component.status') as $statusID => $status)