From 55a78b3e8627fe46892a2dd67d09e7c96dbe542c Mon Sep 17 00:00:00 2001 From: Peio Rigaux Date: Wed, 28 Feb 2024 13:58:41 +0000 Subject: [PATCH] Fix typos and generic text issues --- flexiapi/.env.example | 3 ++- flexiapi/config/app.php | 3 ++- flexiapi/resources/views/about.blade.php | 4 +++- .../views/account/creation_request_token/check.blade.php | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/flexiapi/.env.example b/flexiapi/.env.example index 5e6edd5..512b581 100644 --- a/flexiapi/.env.example +++ b/flexiapi/.env.example @@ -48,6 +48,7 @@ INTERCOM_FEATURES=false # Toggle to enable/disable the intercom related features TERMS_OF_USE_URL= # A URL pointing to the Terms of Use PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy +APP_PROJECT_URL= # A URL pointing to the project information page LOG_CHANNEL=stack @@ -103,4 +104,4 @@ OVH_APP_SENDER= # Google reCaptcha v2 parameters NOCAPTCHA_SECRET=secret-key -NOCAPTCHA_SITEKEY=site-key \ No newline at end of file +NOCAPTCHA_SITEKEY=site-key diff --git a/flexiapi/config/app.php b/flexiapi/config/app.php index 2e6149f..c505700 100644 --- a/flexiapi/config/app.php +++ b/flexiapi/config/app.php @@ -13,9 +13,10 @@ return [ | */ - 'name' => env('APP_NAME', 'Laravel'), + 'name' => env('APP_NAME', 'Account Manager'), 'sip_domain' => env('APP_SIP_DOMAIN', 'sip.domain.com'), + 'project_url' => env('APP_PROJECT_URL', ''), 'terms_of_use_url' => env('TERMS_OF_USE_URL', ''), 'privacy_policy_url' => env('PRIVACY_POLICY_URL', ''), diff --git a/flexiapi/resources/views/about.blade.php b/flexiapi/resources/views/about.blade.php index 12031cc..2d22a50 100644 --- a/flexiapi/resources/views/about.blade.php +++ b/flexiapi/resources/views/about.blade.php @@ -6,7 +6,9 @@

About


-

https://linphone.org

+ @if (!empty(config('app.project_url'))) +

{{ config('app.project_url') }}

+ @endif

Terms and Conditions and Privacy policy

diff --git a/flexiapi/resources/views/account/creation_request_token/check.blade.php b/flexiapi/resources/views/account/creation_request_token/check.blade.php index e9c41d5..d465a92 100644 --- a/flexiapi/resources/views/account/creation_request_token/check.blade.php +++ b/flexiapi/resources/views/account/creation_request_token/check.blade.php @@ -8,8 +8,8 @@ @include('parts.captcha') - + -@endsection \ No newline at end of file +@endsection