From 65bf31c9110324ddac3ca2c41f9be26f5d17a38d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 22 Aug 2017 20:57:53 +0300 Subject: [PATCH] Add review link --- resources/lang/en/texts.php | 1 + resources/views/accounts/management.blade.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 49a9aa05c875..e9d27ce5a9cd 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2389,6 +2389,7 @@ $LANG = array( 'currency_jordanian_dinar' => 'Jordanian Dinar', 'currency_myanmar_kyat' => 'Myanmar Kyat', 'currency_peruvian_sol' => 'Peruvian Sol', + 'review_app_help' => 'We hope you\'re enjoying using the app.
If you\'d consider writing a review we\'d greatly appreciate it!', 'use_english_version' => 'Make sure to use the English version of the files.
We use the column headers to match the fields.', 'tax1' => 'First Tax', diff --git a/resources/views/accounts/management.blade.php b/resources/views/accounts/management.blade.php index 3056cc6a6833..099c32dbb3f0 100644 --- a/resources/views/accounts/management.blade.php +++ b/resources/views/accounts/management.blade.php @@ -93,6 +93,10 @@ @endif @endif @endif + + @if (Auth::user()->created_at->diffInMonths() >= 3) + {!! Former::plaintext(' ')->help('review_app_help') !!} + @endif @if (Utils::isNinjaProd())