From ce5572d7dd13fce491257cee0f1f1ca69c499a4a Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 12 Mar 2023 23:18:11 +0100 Subject: Improve about page (#5192) * add link to documentation * i18n for documentation * add target="_blank" for website link * show environment, if it is not 'production' * just for admins * fix * Update app/i18n/fr/index.php Co-authored-by: Alexandre Alapetite * Update app/i18n/en/index.php Co-authored-by: Alexandre Alapetite * Update app/views/index/about.phtml Co-authored-by: Alexandre Alapetite --------- Co-authored-by: Alexandre Alapetite --- app/views/index/about.phtml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'app/views/index') diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml index e25e9a119..138791de1 100644 --- a/app/views/index/about.phtml +++ b/app/views/index/about.phtml @@ -16,7 +16,10 @@

- + + +

+

@@ -24,10 +27,20 @@

- -

- - + +

+ + + environment; + if ($env !== 'production' && FreshRSS_Context::$user_conf->is_admin) { ?> +

data/config.php

+ 'environment' => ''
+

-- cgit v1.2.3