This repository has no description
1{{ define "timeline/fragments/vouchSuggestions" }}
2 {{ if and .LoggedInUser .VouchSuggestions }}
3 <div class="border border border-gray-200 dark:border-gray-700 rounded-sm divide-y divide-gray-200 dark:divide-gray-700">
4 <a href="/{{ .LoggedInUser.Did }}?tab=vouches" class="flex items-center justify-between bg-white/50 dark:bg-gray-800/50 no-underline hover:no-underline">
5 <h3 class="text-base dark:text-white flex items-center gap-2 px-4 py-2">
6 {{ i "shield-plus" "size-4 flex-shrink-0" }}
7 Suggested
8 </h3>
9 <span class="text-sm font-normal flex items-center gap-1 pr-4">
10 View all {{ i "arrow-right" "size-3.5" }}
11 </span>
12 </a>
13 <div class="flex flex-col gap-4 bg-white dark:bg-gray-800 p-4">
14 {{ range .VouchSuggestions }}
15 <div class="flex items-center gap-3 ">
16 {{ template "user/fragments/picLink" (list .Did.String "size-10") }}
17 <div class="flex flex-col min-w-0 flex-1">
18 <a href="/{{ resolve .Did.String }}" class="text-sm font-medium dark:text-white hover:underline truncate">{{ resolve .Did.String }}</a>
19 <span class="text-sm text-gray-500 dark:text-gray-400 truncate" title="{{ .Reason }}">{{ .Reason }}</span>
20 </div>
21 <div class="shrink-0">
22 {{ template "user/fragments/vouch" (dict "VouchRelationship" .VouchRelationship) }}
23 </div>
24 </div>
25 {{ end }}
26 </div>
27 </div>
28 {{ end }}
29{{ end }}