forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview/notifications: add time of creation to notif list

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li 80d61c06 83544fb5

verified
Changed files
+4 -1
appview
pages
templates
notifications
fragments
+4 -1
appview/pages/templates/notifications/fragments/item.html
···
">
{{ template "notificationIcon" . }}
<div class="flex-1 w-full flex flex-col gap-1">
-
<span>{{ template "notificationHeader" . }}</span>
+
<div class="flex items-center gap-1">
+
<span>{{ template "notificationHeader" . }}</span>
+
<span class="text-sm text-gray-500 dark:text-gray-400 before:content-['·'] before:select-none">{{ template "repo/fragments/shortTime" .Created }}</span>
+
</div>
<span class="text-sm text-gray-500 dark:text-gray-400">{{ template "notificationSummary" . }}</span>
</div>