From e668b88fb50b0a1f4add828dba6d0900f9f5c2da Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 4 Feb 2018 14:04:52 +0100 Subject: [PATCH] Make sure authorise view is translatable and matches Firefly III --- .../views/vendor/passport/authorize.twig | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/resources/views/vendor/passport/authorize.twig b/resources/views/vendor/passport/authorize.twig index 7dcc9b4ade..737c5fe2e0 100644 --- a/resources/views/vendor/passport/authorize.twig +++ b/resources/views/vendor/passport/authorize.twig @@ -5,7 +5,7 @@ - {{ config('app.name') }} - Authorization + Firefly III v{{ config('firefly.version') }} - Authorization @@ -43,33 +43,34 @@
- Authorization Request + {{ trans('firefly.authorization_request', {version: config('firefly.version')}) }}
-

{{ $client->name }} is requesting permission to access your account.

- +

+ {{ trans('firefly.authorization_request_intro', {client: client.name})|raw }} +

- @if (count($scopes) > 0) + {% if scopes|length > 0 %}
-

This application will be able to:

+

{{ 'scopes_will_be_able'|_ }}

    - @foreach ($scopes as $scope) -
  • {{ $scope->description }}
  • - @endforeach + {% for scope in scopes %} +
  • {{ scope.description }}
  • + {% endfor %}
- @endif + {% endif %}
{{ csrf_field() }} - - - + + +
@@ -77,9 +78,9 @@ {{ csrf_field() }} {{ method_field('DELETE') }} - - - + + +