summaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate/gitea.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/migrate/gitea.tmpl')
-rw-r--r--templates/repo/migrate/gitea.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/migrate/gitea.tmpl b/templates/repo/migrate/gitea.tmpl
index ef28e15ee5..ecbf89608e 100644
--- a/templates/repo/migrate/gitea.tmpl
+++ b/templates/repo/migrate/gitea.tmpl
@@ -74,18 +74,18 @@
<div class="ui selection owner dropdown">
<input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required>
<span class="text truncated-item-container" title="{{.ContextUser.Name}}">
- {{avatar .ContextUser}}
+ {{avatar $.Context .ContextUser}}
<span class="truncated-item-name">{{.ContextUser.ShortName 40}}</span>
</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu" title="{{.SignedUser.Name}}">
<div class="item truncated-item-container" data-value="{{.SignedUser.ID}}">
- {{avatar .SignedUser}}
+ {{avatar $.Context .SignedUser}}
<span class="truncated-item-name">{{.SignedUser.ShortName 40}}</span>
</div>
{{range .Orgs}}
<div class="item truncated-item-container" data-value="{{.ID}}" title="{{.Name}}">
- {{avatar .}}
+ {{avatar $.Context .}}
<span class="truncated-item-name">{{.ShortName 40}}</span>
</div>
{{end}}