+6
appview/pages/funcmap.go
+6
appview/pages/funcmap.go
+5
-5
appview/pages/templates/timeline.html
+5
-5
appview/pages/templates/timeline.html
···
43
{{ $userHandle := index $.DidHandleMap .Repo.Did }}
44
<div class="flex items-center">
45
<p class="text-gray-600">
46
-
<a href="/{{ $userHandle }}" class="no-underline hover:underline">{{ $userHandle }}</a>
47
created
48
<a href="/{{ $userHandle }}/{{ .Repo.Name }}" class="no-underline hover:underline">{{ .Repo.Name }}</a>
49
<time class="text-gray-700 text-xs">{{ .Repo.Created | timeFmt }}</time>
···
54
{{ $subjectHandle := index $.DidHandleMap .Follow.SubjectDid }}
55
<div class="flex items-center">
56
<p class="text-gray-600">
57
-
<a href="/{{ $userHandle }}" class="no-underline hover:underline">{{ $userHandle }}</a>
58
followed
59
-
<a href="/{{ $subjectHandle }}" class="no-underline hover:underline">{{ $subjectHandle }}</a>
60
<time class="text-gray-700 text-xs">{{ .Follow.FollowedAt | timeFmt }}</time>
61
</p>
62
</div>
···
65
{{ $repoOwnerHandle := index $.DidHandleMap .Star.Repo.Did }}
66
<div class="flex items-center">
67
<p class="text-gray-600">
68
-
<a href="/{{ $starrerHandle }}" class="no-underline hover:underline">{{ $starrerHandle }}</a>
69
starred
70
-
<a href="/{{ $repoOwnerHandle }}/{{ .Star.Repo.Name }}" class="no-underline hover:underline">{{ $repoOwnerHandle }}/{{ .Star.Repo.Name }}</a>
71
<time class="text-gray-700 text-xs">{{ .Star.Created | timeFmt }}</time>
72
</p>
73
</div>
···
43
{{ $userHandle := index $.DidHandleMap .Repo.Did }}
44
<div class="flex items-center">
45
<p class="text-gray-600">
46
+
<a href="/{{ $userHandle }}" class="no-underline hover:underline">{{ $userHandle | truncateAt30 }}</a>
47
created
48
<a href="/{{ $userHandle }}/{{ .Repo.Name }}" class="no-underline hover:underline">{{ .Repo.Name }}</a>
49
<time class="text-gray-700 text-xs">{{ .Repo.Created | timeFmt }}</time>
···
54
{{ $subjectHandle := index $.DidHandleMap .Follow.SubjectDid }}
55
<div class="flex items-center">
56
<p class="text-gray-600">
57
+
<a href="/{{ $userHandle }}" class="no-underline hover:underline">{{ $userHandle | truncateAt30 }}</a>
58
followed
59
+
<a href="/{{ $subjectHandle }}" class="no-underline hover:underline">{{ $subjectHandle | truncateAt30 }}</a>
60
<time class="text-gray-700 text-xs">{{ .Follow.FollowedAt | timeFmt }}</time>
61
</p>
62
</div>
···
65
{{ $repoOwnerHandle := index $.DidHandleMap .Star.Repo.Did }}
66
<div class="flex items-center">
67
<p class="text-gray-600">
68
+
<a href="/{{ $starrerHandle }}" class="no-underline hover:underline">{{ $starrerHandle | truncateAt30 }}</a>
69
starred
70
+
<a href="/{{ $repoOwnerHandle }}/{{ .Star.Repo.Name }}" class="no-underline hover:underline">{{ $repoOwnerHandle | truncateAt30 }}/{{ .Star.Repo.Name }}</a>
71
<time class="text-gray-700 text-xs">{{ .Star.Created | timeFmt }}</time>
72
</p>
73
</div>
+1
-1
appview/pages/templates/user/profile.html
+1
-1
appview/pages/templates/user/profile.html