diff --git a/appview/pages/pages.go b/appview/pages/pages.go index ad046ef57..9ef2f2bbb 100644 --- a/appview/pages/pages.go +++ b/appview/pages/pages.go @@ -145,6 +145,7 @@ type ProfilePageParams struct { CollaboratingRepos []db.Repo ProfileStats ProfileStats FollowStatus db.FollowStatus + DidHandleMap map[string]string } type ProfileStats struct { diff --git a/appview/pages/templates/layouts/repobase.html b/appview/pages/templates/layouts/repobase.html index 4220dd1d5..770e2e463 100644 --- a/appview/pages/templates/layouts/repobase.html +++ b/appview/pages/templates/layouts/repobase.html @@ -29,10 +29,13 @@ hx-boost="true" >
{{ $key }}
diff --git a/appview/pages/templates/user/profile.html b/appview/pages/templates/user/profile.html index c6d69b098..fb34b56f0 100644 --- a/appview/pages/templates/user/profile.html +++ b/appview/pages/templates/user/profile.html @@ -58,8 +58,8 @@ class="py-4 px-6 drop-shadow-sm rounded bg-white" >
- - @{{ .Did }}/{{ .Name }} + + {{ index $.DidHandleMap .Did }}/{{ .Name }}