mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-12 23:50:00 +08:00
5e1bd8af5f
I've heard many reports of users getting scared when they see their own email address for their own profile, as they believe that the email field is also visible to other users. Currently, using Incognito mode or going over the Settings is the only "reasonable" way to verify this from the perspective of the user. A locked padlock should be enough to indicate that the email is not visible to anyone apart from the user and the admins. An unlocked padlock is used if the email address is only shown to authenticated users. Some additional string-related changes in the Settings were introduced as well to ensure consistency, and the comments in the relevant tests were improved so as to allow for easier modifications in the future. --- #### Screenshot (EDIT: Scroll down for more up-to-date screenshots) ***Please remove this section before merging.*** ![image](https://user-images.githubusercontent.com/30193966/229572425-909894aa-a7d5-4bf3-92d3-23b1921dcc90.png) This lock should only appear if the email address is explicitly hidden using the `Hide Email Address` setting. The change was originally tested on top of and designed for the Forgejo fork, but I don't expect any problems to arise from this and I don't think that a documentation-related change is strictly necessary. --------- Co-authored-by: silverwind <me@silverwind.io> |
||
---|---|---|
.. | ||
locale_cs-CZ.ini | ||
locale_de-DE.ini | ||
locale_el-GR.ini | ||
locale_en-US.ini | ||
locale_es-ES.ini | ||
locale_fa-IR.ini | ||
locale_fi-FI.ini | ||
locale_fr-FR.ini | ||
locale_hu-HU.ini | ||
locale_id-ID.ini | ||
locale_is-IS.ini | ||
locale_it-IT.ini | ||
locale_ja-JP.ini | ||
locale_ko-KR.ini | ||
locale_lv-LV.ini | ||
locale_nl-NL.ini | ||
locale_pl-PL.ini | ||
locale_pt-BR.ini | ||
locale_pt-PT.ini | ||
locale_ru-RU.ini | ||
locale_si-LK.ini | ||
locale_sk-SK.ini | ||
locale_sv-SE.ini | ||
locale_tr-TR.ini | ||
locale_uk-UA.ini | ||
locale_zh-CN.ini | ||
locale_zh-HK.ini | ||
locale_zh-TW.ini | ||
TRANSLATORS |