From 09563d4d2059fbb521ca7b52ff3f1bd4ad7109b9 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 15 Apr 2024 19:38:20 -0700
Subject: feat(badges): source and designer fields

---
 src/lib/FallbackBadge.svelte | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/lib/FallbackBadge.svelte')

diff --git a/src/lib/FallbackBadge.svelte b/src/lib/FallbackBadge.svelte
index 470f5d8c..3f87b9f2 100644
--- a/src/lib/FallbackBadge.svelte
+++ b/src/lib/FallbackBadge.svelte
@@ -52,9 +52,12 @@
 		id={`badge-${badge.id}`}
 		class="badge-container badge"
 		title={`${badge.time ? $locale().dateFormatter(databaseTimeToDate(badge.time)) : ''}${
-			badge.description ? `\n${badge.description}` : ''
+			badge.description ? `, ${badge.description}` : ''
+		}${badge.designer ? `\nDesigner: ${badge.designer}` : ''}${
+			badge.source ? `\nSource: ${badge.source}` : ''
 		}`}
 		use:tooltip
+		data-tooltipPin={`badge-${badge.id}`}
 	>
 		<img
 			src={source}
-- 
cgit v1.2.3

