summaryrefslogtreecommitdiff
path: root/web/templates/partials/bugs.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/partials/bugs.html')
-rw-r--r--web/templates/partials/bugs.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/templates/partials/bugs.html b/web/templates/partials/bugs.html
new file mode 100644
index 0000000..cb5ba25
--- /dev/null
+++ b/web/templates/partials/bugs.html
@@ -0,0 +1,12 @@
+{{define "bugs"}}
+{{if .}}
+{{range .}}
+<div class="text-sm border-b border-gray-100 py-2">
+ <p class="text-gray-900">{{.Description}}</p>
+ <p class="text-gray-400 text-xs">{{.CreatedAt.Format "Jan 2, 3:04 PM"}}</p>
+</div>
+{{end}}
+{{else}}
+<p class="text-gray-500 text-sm">No bugs reported yet.</p>
+{{end}}
+{{end}}