diff --git a/appview/pages/pages.go b/appview/pages/pages.go index 352b2c8d..92fa26e6 100644 --- a/appview/pages/pages.go +++ b/appview/pages/pages.go @@ -712,12 +712,14 @@ func (p *Pages) ProfileStrings(w io.Writer, params ProfileStringsParams) error { } type ProfileVouchesParams struct { - LoggedInUser *oauth.MultiAccountUser - Vouches []models.Vouch - Suggestions []models.VouchSuggestion - Card *ProfileCard - Page pagination.Page - Active string + LoggedInUser *oauth.MultiAccountUser + Vouches []models.Vouch + Suggestions []models.VouchSuggestion + Card *ProfileCard + Page pagination.Page + Active string + EvidencePulls map[syntax.ATURI]*models.Pull + EvidenceIssues map[syntax.ATURI]*models.Issue } func (p *Pages) ProfileVouches(w io.Writer, params ProfileVouchesParams) error { diff --git a/appview/pages/templates/user/fragments/issueEvent.html b/appview/pages/templates/user/fragments/issueEvent.html new file mode 100644 index 00000000..65f954d6 --- /dev/null +++ b/appview/pages/templates/user/fragments/issueEvent.html @@ -0,0 +1,21 @@ +{{ define "user/fragments/issueEvent" }} + {{ $repoOwner := resolve .Repo.Did }} + {{ $repoUrl := printf "%s/%s" $repoOwner .Repo.Name }} +
{{ . }}
+{{ . }}
+ {{ end }} + {{ if $v.Evidences }} +