diff options
author | David Svantesson <davidsvantesson@gmail.com> | 2019-09-24 03:30:40 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-09-24 09:30:40 +0800 |
commit | 730065a3dc72683460b95ba1486dba8ec355a373 (patch) | |
tree | ce6a655a510ec3c54b31e077282bb3bb26aa4014 /templates | |
parent | b6cfca62406eb7a0f7f294f40edb0c191dd3be57 (diff) | |
download | gitea-730065a3dc72683460b95ba1486dba8ec355a373.tar.gz gitea-730065a3dc72683460b95ba1486dba8ec355a373.zip |
Do only show teams access for organization repositories, not for personal repositories (#8265)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index b65fd4e167..61feb4ec18 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -52,6 +52,7 @@ </form> </div> + {{if .RepoOwnerIsOrganization}} <h4 class="ui top attached header"> Teams </h4> @@ -108,6 +109,7 @@ </div> {{end}} </div> + {{end}} </div> </div> |