]> source.dussan.org Git - gitea.git/commit
UI config to toggle whether user email shows up in Explore Users (#336)
authorThiago Avelino <thiago@avelino.xxx>
Sun, 1 Jan 2017 02:51:10 +0000 (00:51 -0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Sun, 1 Jan 2017 02:51:10 +0000 (10:51 +0800)
commit787fda53efc65916294caa6faf4aa8ecaf6cf86c
tree73fcabf10a76b18b0aa53d1dee0e40883a8d2586
parenta09a3dcabb566785208edb0df85a76c0303d4d52
UI config to toggle whether user email shows up in Explore Users (#336)

* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
https://github.com/go-gitea/gitea/pull/336/commits/66a1c59fe730eff019ce100673c6800cce7d102d#r94122732

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
conf/app.ini
modules/setting/setting.go
routers/home.go
templates/explore/users.tmpl
templates/user/profile.tmpl