aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/pulls/fork.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/pulls/fork.tmpl')
-rw-r--r--templates/repo/pulls/fork.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl
index 431f6df236..133cc92f7c 100644
--- a/templates/repo/pulls/fork.tmpl
+++ b/templates/repo/pulls/fork.tmpl
@@ -24,7 +24,7 @@
{{.SignedUser.ShortName 20}}
</div>
{{range .Orgs}}
- {{if .IsOwnedBy $.SignedUser.ID}}
+ {{if and (.IsOwnedBy $.SignedUser.ID) (ne .ID $.ForkFromOwnerID)}}
<div class="item" data-value="{{.ID}}">
<img class="ui mini image" src="{{.RelAvatarLink}}">
{{.ShortName 20}}