diff options
Diffstat (limited to 'models/repo_collaboration.go')
-rw-r--r-- | models/repo_collaboration.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo_collaboration.go b/models/repo_collaboration.go index e5be729895..0561ad86be 100644 --- a/models/repo_collaboration.go +++ b/models/repo_collaboration.go @@ -16,6 +16,7 @@ type Collaboration struct { Mode AccessMode `xorm:"DEFAULT 2 NOT NULL"` } +// ModeI18nKey returns the collaboration mode I18n Key func (c *Collaboration) ModeI18nKey() string { switch c.Mode { case AccessModeRead: |