forked from tangled.org/core
Monorepo for Tangled
at master 992 B view raw
1{{ define "title" }}{{ resolve .Card.UserDid }} · following {{ end }} 2 3{{ define "profileContent" }} 4 <div id="all-following" class="md:col-span-8 order-2 md:order-2"> 5 {{ block "following" . }}{{ end }} 6 </div> 7{{ end }} 8 9{{ define "following" }} 10 <p class="text-sm font-bold p-2 dark:text-white">ALL FOLLOWING</p> 11 <div id="following" class="grid grid-cols-1 gap-4 mb-6"> 12 {{ range .Following }} 13 {{ template "user/fragments/followCard" 14 (dict 15 "LoggedInUser" $.LoggedInUser 16 "UserDid" .UserDid 17 "Profile" .Profile 18 "FollowStatus" .FollowStatus 19 "FollowersCount" .FollowersCount 20 "FollowingCount" .FollowingCount) }} 21 {{ else }} 22 <div class="text-base text-gray-500 flex items-center justify-center italic p-12 border border-gray-200 dark:border-gray-700 rounded"> 23 <span>This user does not follow anyone yet.</span> 24 </div> 25 {{ end }} 26 </div> 27{{ end }}