mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 00:10:15 +00:00
Allow Organisations to have a E-Mail (#25082)
Resolves #25057 This adds a E-Mail field to Organisations. The E-Mail is just shown on the Profile when it is visited by a logged in User. The E-mail is not used for something else. **Screenshots:**   --------- Co-authored-by: Denys Konovalov <kontakt@denyskon.de> Co-authored-by: Denys Konovalov <privat@denyskon.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
af1ffbcd63
commit
6598d0291c
11 changed files with 48 additions and 10 deletions
|
@ -36,6 +36,7 @@ func TestUserOrgs(t *testing.T) {
|
|||
Name: user17.Name,
|
||||
UserName: user17.Name,
|
||||
FullName: user17.FullName,
|
||||
Email: user17.Email,
|
||||
AvatarURL: user17.AvatarLink(db.DefaultContext),
|
||||
Description: "",
|
||||
Website: "",
|
||||
|
@ -47,6 +48,7 @@ func TestUserOrgs(t *testing.T) {
|
|||
Name: user3.Name,
|
||||
UserName: user3.Name,
|
||||
FullName: user3.FullName,
|
||||
Email: user3.Email,
|
||||
AvatarURL: user3.AvatarLink(db.DefaultContext),
|
||||
Description: "",
|
||||
Website: "",
|
||||
|
@ -106,6 +108,7 @@ func TestMyOrgs(t *testing.T) {
|
|||
Name: user17.Name,
|
||||
UserName: user17.Name,
|
||||
FullName: user17.FullName,
|
||||
Email: user17.Email,
|
||||
AvatarURL: user17.AvatarLink(db.DefaultContext),
|
||||
Description: "",
|
||||
Website: "",
|
||||
|
@ -117,6 +120,7 @@ func TestMyOrgs(t *testing.T) {
|
|||
Name: user3.Name,
|
||||
UserName: user3.Name,
|
||||
FullName: user3.FullName,
|
||||
Email: user3.Email,
|
||||
AvatarURL: user3.AvatarLink(db.DefaultContext),
|
||||
Description: "",
|
||||
Website: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue