Signed-off-by: Will Andrews did:plc:dadhhalkfcq3gucaq25hjqon
ERROR
appview/db/timeline.go
ERROR
appview/db/timeline.go
Failed to calculate interdiff for this file.
REVERTED
appview/state/state.go
REVERTED
appview/state/state.go
NEW
appview/pages/pages.go
NEW
appview/pages/pages.go
NEW
appview/pages/templates/timeline/fragments/timeline.html
NEW
appview/pages/templates/timeline/fragments/timeline.html
···
1
{{ define "timeline/fragments/timeline" }}
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 }}
21
</div>
22
23
<div class="flex flex-col gap-4">