Yōten: A social tracker for your language learning journey built on the atproto.

fix: reply notification ui

brookjeynes.dev 250d6a19 03fc6034

verified
+12
+12
internal/server/views/partials/notification.templ
··· 41 41 </a> 42 42 </p> 43 43 </div> 44 + case db.NotificationTypeReply: 45 + <div> 46 + <h1 class="font-semibold">New Reply</h1> 47 + <p class="text-sm mt-1"> 48 + <a class="hover:underline" href={ templ.SafeURL("/" + params.Notification.ActorDid) }> 49 + &commat;{ params.Notification.ActorBskyHandle } 50 + </a> replied to your comment on this 51 + <a class="hover:underline" href={ templ.SafeURL("/" + params.Notification.SubjectDid + "/session/" + params.Notification.SubjectRkey) }> 52 + study session 53 + </a> 54 + </p> 55 + </div> 44 56 default: 45 57 } 46 58 <p class="text-xs text-text-muted">{ params.Notification.CreatedAt.Format("02/01/2006") }</p>