Skip to content

Commit 3cf0815

Browse files
authored
Do requsted changes
1 parent 30e2732 commit 3cf0815

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/org/home.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
{{end}}
1515
</div>
1616
{{if $.RenderedDescription}}<div class="render-content markup">{{$.RenderedDescription|Str2html}}</div>{{end}}
17-
<div class="text grey meta">
17+
<div class="text grey meta gt-df gt-ac gt-fw gt-gap-3">
1818
{{if .Org.Location}}<div class="item">{{svg "octicon-location"}} <span>{{.Org.Location}}</span></div>{{end}}
1919
{{if .Org.Website}}<div class="item">{{svg "octicon-link"}} <a target="_blank" rel="noopener noreferrer me" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}}
2020
{{if $.IsSigned}}
21-
{{if .Org.Email}}<div class="item">{{svg "octicon-mail"}} <a href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>{{end}}
21+
{{if .Org.Email}}<div class="item">{{svg "octicon-mail"}} <a class="muted" href="mailto:{{.Org.Email}}">{{.Org.Email}}</a></div>{{end}}
2222
{{end}}
2323
</div>
2424
</div>

tests/integration/api_user_orgs_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ func TestMyOrgs(t *testing.T) {
106106
Name: user17.Name,
107107
UserName: user17.Name,
108108
FullName: user17.FullName,
109+
109110
AvatarURL: user17.AvatarLink(db.DefaultContext),
110111
Description: "",
111112
Website: "",
@@ -117,6 +118,7 @@ func TestMyOrgs(t *testing.T) {
117118
Name: user3.Name,
118119
UserName: user3.Name,
119120
FullName: user3.FullName,
121+
120122
AvatarURL: user3.AvatarLink(db.DefaultContext),
121123
Description: "",
122124
Website: "",

0 commit comments

Comments
 (0)