+3
-20
appview/pages/templates/timeline/fragments/timeline.html
+3
-20
appview/pages/templates/timeline/fragments/timeline.html
···
1
1
{{ define "timeline/fragments/timeline" }}
2
2
<div class="py-4">
3
-
4
-
<div class="flex gap-2 px-6 pb-4">
5
-
<div>
6
-
<p class="text-xl font-bold dark:text-white">Timeline</p>
7
-
</div>
8
-
{{ if .LoggedInUser }}
9
-
<div>
10
-
{{ if .Filtered }}
11
-
<a href="/timeline" class="hover:underline text-sm">
12
-
Show All
13
-
</a>
14
-
{{ else }}
15
-
<a href="/timeline?filtered=true" class="hover:underline text-sm">
16
-
Show following only
17
-
</a>
18
-
{{ end }}
19
-
</div>
20
-
{{ end }}
3
+
<div class="px-6 pb-4">
4
+
<p class="text-xl font-bold dark:text-white">Timeline</p>
21
5
</div>
22
-
23
6
<div class="flex flex-col gap-4">
24
7
{{ range $i, $e := .Timeline }}
25
8
<div class="relative">
···
109
92
{{ template "user/fragments/picHandleLink" $subjectHandle }}
110
93
<span class="text-gray-700 dark:text-gray-400 text-xs">{{ template "repo/fragments/time" $follow.FollowedAt }}</span>
111
94
</div>
112
-
{{ template "user/fragments/followCard"
95
+
{{ template "user/fragments/followCard"
113
96
(dict
114
97
"LoggedInUser" $root.LoggedInUser
115
98
"UserDid" $follow.SubjectDid