File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 14
14
{{end}}
15
15
</div>
16
16
{{if $.RenderedDescription}}<div class="render-content markup">{{$.RenderedDescription|Str2html}}</div>{{end}}
17
- <div class="text grey meta gt-df gt-ac gt-fw gt-gap-3 ">
18
- {{if .Org.Location}}<div class="item ">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
19
- {{if .Org.Website}}<div class="item ">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
17
+ <div class="text grey meta">
18
+ {{if .Org.Location}}<div class="flex-text-block ">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
19
+ {{if .Org.Website}}<div class="flex-text-block ">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
20
20
{{if $.IsSigned}}
21
- {{if .Org.Email}}<div class="item ">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>{{end}}
21
+ {{if .Org.Email}}<div class="flex-text-block ">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>{{end}}
22
22
{{end}}
23
23
</div>
24
24
</div>
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ func TestUserOrgs(t *testing.T) {
36
36
Name : user17 .Name ,
37
37
UserName : user17 .Name ,
38
38
FullName : user17 .FullName ,
39
+ Email : user17 .Email ,
39
40
AvatarURL : user17 .AvatarLink (db .DefaultContext ),
40
41
Description : "" ,
41
42
Website : "" ,
@@ -47,6 +48,7 @@ func TestUserOrgs(t *testing.T) {
47
48
Name : user3 .Name ,
48
49
UserName : user3 .Name ,
49
50
FullName : user3 .FullName ,
51
+ Email : user3 .Email ,
50
52
AvatarURL : user3 .AvatarLink (db .DefaultContext ),
51
53
Description : "" ,
52
54
Website : "" ,
@@ -106,7 +108,7 @@ func TestMyOrgs(t *testing.T) {
106
108
Name : user17 .Name ,
107
109
UserName : user17 .Name ,
108
110
FullName : user17 .FullName ,
109
- Email : " user17@example.com" ,
111
+ Email : user17 . Email ,
110
112
AvatarURL : user17 .AvatarLink (db .DefaultContext ),
111
113
Description : "" ,
112
114
Website : "" ,
@@ -118,7 +120,7 @@ func TestMyOrgs(t *testing.T) {
118
120
Name : user3 .Name ,
119
121
UserName : user3 .Name ,
120
122
FullName : user3 .FullName ,
121
- Email : " user3@example.com" ,
123
+ Email : user3 . Email ,
122
124
AvatarURL : user3 .AvatarLink (db .DefaultContext ),
123
125
Description : "" ,
124
126
Website : "" ,
Original file line number Diff line number Diff line change 117
117
margin-bottom : 10px ;
118
118
}
119
119
120
- .organization .profile # org-info .meta .item {
121
- display : inline-block;
122
- margin-right : 10px ;
123
- }
124
-
125
- .organization .profile # org-info .meta .item .icon {
126
- margin-right : 5px ;
120
+ .organization .profile # org-info .meta {
121
+ display : flex;
122
+ align-items : center;
123
+ flex-wrap : wrap;
124
+ gap : 8px ;
127
125
}
128
126
129
127
.organization .profile .ui .top .header .ui .right {
You can’t perform that action at this time.
0 commit comments