Monorepo for Tangled tangled.org
5

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages: remove vouch tooltip

we already have the profile popover.

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
date (Jun 15, 2026, 1:57 PM +0100) commit 2fe5fb92 parent 792a820c change-id zprvvqkp
-26
-1
appview/pages/templates/user/fragments/picLink.html
··· 44 44 popovertarget="vouch-modal-{{ normalizeForHtmlId $vr.SubjectDid.String }}" 45 45 popovertargetaction="toggle" 46 46 class="absolute -bottom-0.5 -right-0.5 w-1/2 h-1/2 cursor-pointer" 47 - title="{{ template "user/fragments/vouchTooltip" $vr }}"> 48 47 {{ if $vr.IsDirectVouch }} 49 48 {{ template "fragments/icons/shield-direct-vouch" "w-full h-full" }} 50 49 {{ else if $vr.IsDirectDenounce }}
-25
appview/pages/templates/user/fragments/vouchTooltip.html
··· 1 - {{ define "user/fragments/vouchTooltip" }} 2 - {{- $vr := . -}} 3 - {{- if not $vr.IsEmpty -}} 4 - {{- $networkPart := "" -}} 5 - {{- if and (gt $vr.VouchStrength 0) (eq $vr.DenounceStrength 0) -}} 6 - {{- $networkPart = printf "%s from your network vouched for this user." (plural $vr.VouchStrength "person" "people") -}} 7 - {{- else if and (gt $vr.DenounceStrength 0) (eq $vr.VouchStrength 0) -}} 8 - {{- $networkPart = printf "%s from your network denounced this user." (plural $vr.DenounceStrength "person" "people") -}} 9 - {{- else if and (eq $vr.DenounceStrength 0) (eq $vr.VouchStrength 0) -}} 10 - {{- $networkPart = "" -}} 11 - {{- else -}} 12 - {{- $networkPart = printf "%s and %s from your network." (plural $vr.VouchStrength "vouch" "vouches") (plural $vr.DenounceStrength "denounce" "") -}} 13 - {{- end -}} 14 - {{- $direct := $vr.GetDirectVouch -}} 15 - {{- if $direct -}} 16 - {{- if $direct.IsVouch -}} 17 - You vouched for {{ resolve $vr.SubjectDid.String }} {{ relTimeFmt $direct.CreatedAt }}. {{ $networkPart }} 18 - {{- else -}} 19 - You denounced {{ resolve $vr.SubjectDid.String }} {{ relTimeFmt $direct.CreatedAt }}. {{ $networkPart }} 20 - {{- end -}} 21 - {{- else -}} 22 - {{- $networkPart -}}. 23 - {{- end -}} 24 - {{- end -}} 25 - {{ end }}