diff options
author | Unknwon <u@gogs.io> | 2015-08-08 17:24:10 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-08 17:24:10 +0800 |
commit | e3bdfd51ff4a3987c9c14d46d4c145f550b42d01 (patch) | |
tree | cb9629ce61cbc79e99fe9b910e92890e0dea4117 /templates/repo/pulls | |
parent | 9db4acc62e2d253c21ce9aed2e21003ff235d5b5 (diff) | |
download | gitea-e3bdfd51ff4a3987c9c14d46d4c145f550b42d01.tar.gz gitea-e3bdfd51ff4a3987c9c14d46d4c145f550b42d01.zip |
better fork permission check
Diffstat (limited to 'templates/repo/pulls')
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index acac9040f0..2f76cf002a 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -24,11 +24,13 @@ {{.SignedUser.Name}} </div> {{range .Orgs}} + {{if .IsOwnedBy $.SignedUser.Id}} <div class="item" data-value="{{.Id}}"> <img class="ui mini avatar image" src="{{.AvatarLink}}"> {{.Name}} </div> {{end}} + {{end}} </div> </div> </div> |