We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abda1c6 commit f8c4fc9Copy full SHA for f8c4fc9
models/org.go
@@ -116,6 +116,16 @@ func (org *Organization) OrganisationLink() string {
116
return org.AsUser().OrganisationLink()
117
}
118
119
+// ShortName ellipses username to length
120
+func (org *Organization) ShortName(length int) string {
121
+ return org.AsUser().ShortName(length)
122
+}
123
+
124
+// HomeLink returns the user or organization home page link.
125
+func (org *Organization) HomeLink() string {
126
+ return org.AsUser().HomeLink()
127
128
129
// FindOrgMembersOpts represensts find org members conditions
130
type FindOrgMembersOpts struct {
131
db.ListOptions
0 commit comments