aboutsummaryrefslogtreecommitdiff
path: root/app/views/user/details.phtml
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2019-12-07 11:55:12 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-12-07 12:57:52 +0100
commitd13a8a0eb1c37c6b241bcea3d0123e8fa6bd8f5a (patch)
tree411cfc4adee0786018492850d64f3f0257d2125d /app/views/user/details.phtml
parentecd00854bef9d99ed78d4a20b71d4eb5951cc9a6 (diff)
Add user language display
When managing users, I've added the language they selected to be able to communicate with them with the selected language (if I know it). It could be useful when managing a community or a paid service.
Diffstat (limited to 'app/views/user/details.phtml')
-rw-r--r--app/views/user/details.phtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml
index 2e37be872..7a4687184 100644
--- a/app/views/user/details.phtml
+++ b/app/views/user/details.phtml
@@ -8,6 +8,20 @@
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken(); ?>" />
<div class="form-group">
+ <label class="group-name"><?= _t('admin.user.email') ?></label>
+ <div class="group-controls">
+ <?= $this->details['mail_login'] ?>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label class="group-name"><?= _t('admin.user.language') ?></label>
+ <div class="group-controls">
+ <?= _t("gen.lang.{$this->details['language']}") ?>
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="group-name"><?= _t('admin.user.feed_count') ?></label>
<div class="group-controls">
<?= format_number($this->details['feed_count']) ?>