aboutsummaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-05-08 10:41:35 +0200
committerLauris BH <lauris@nix.lv>2019-05-08 11:41:35 +0300
commit4508380cf7937aef0bf6f99fe3eefb6c530e38e3 (patch)
tree28d832a36e5aced26dce671591c58a1b1a00f22e /custom/conf
parenta84f10ad1afb8b3dcfa75093891d85f6f163715e (diff)
downloadgitea-4508380cf7937aef0bf6f99fe3eefb6c530e38e3.tar.gz
gitea-4508380cf7937aef0bf6f99fe3eefb6c530e38e3.zip
Show full name if DefaultShowFullName setting activated (#6710)
Adds a new key DEFAULT_SHOW_FULL_NAME (default false) to the [ui] section. If enabled the full name will be shown (unless it's empty, then the default username will be used)
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 04b2b9f92e..6f7844962b 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -97,6 +97,8 @@ SHOW_USER_EMAIL = true
DEFAULT_THEME = gitea
; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`.
THEMES = gitea,arc-green
+; Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
+DEFAULT_SHOW_FULL_NAME = false
[ui.admin]
; Number of users that are displayed on one page