gitea/templates
Lanre Adelowo 094263db4d Show email if the authenticated user owns the profile page being requested for (#4981)
* Show email if the authenticated user owns the profile page being
requested for.

Also removed `setting.UI.ShowUserEmail` as it's documentation says it
only controls the email setting on the explore page

* fix current user check... This prevents a panic as a user must be signed in before ctx.User is called

* fix panic in tests

* try to fix tests

* Update year

* Test CI fail

* Revert change

* User 3 is not allowed to authorize

* Set user2 email to be private

* Change to user4 in explore page as user2 now has private email option set
2019-02-19 09:11:50 -05:00
..
admin Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
base Allow labels to contain emoji (#6063) 2019-02-16 19:33:09 +02:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
mail Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
org Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
pwa Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
repo Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
status Provide better panic handling (#5902) 2019-01-30 17:00:00 -05:00
swagger Remove extra spaces (#6016) 2019-02-09 14:48:28 +02:00
user Show email if the authenticated user owns the profile page being requested for (#4981) 2019-02-19 09:11:50 -05:00
home.tmpl Translate home template to Czech (#5665) 2019-01-08 14:39:50 +01:00
install.tmpl Remove the required class from optional ssh port in installation page (#5428) 2018-11-29 18:47:57 +02:00