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
··· 8 8 "> 9 9 {{ template "notificationIcon" . }} 10 10 <div class="flex-1 w-full flex flex-col gap-1"> 11 - <span>{{ template "notificationHeader" . }}</span> 11 + <div class="flex items-center gap-1"> 12 + <span>{{ template "notificationHeader" . }}</span> 13 + <span class="text-sm text-gray-500 dark:text-gray-400 before:content-['·'] before:select-none">{{ template "repo/fragments/shortTime" .Created }}</span> 14 + </div> 12 15 <span class="text-sm text-gray-500 dark:text-gray-400">{{ template "notificationSummary" . }}</span> 13 16 </div> 14 17