From 63a2c2205af5a15688639e2f05130fc7a78a9f32 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 30 May 2024 14:37:12 +0200 Subject: [PATCH 1/2] Fix overflow on notifications --- templates/user/notification/notification_div.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index bf3b51ee3baa0..8d77546f7e568 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -51,7 +51,7 @@ {{end}}
- + {{if .Issue}} {{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}} {{else}} From ab2f3cae8f4654cef09a858c26b4c504c42a331d Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 30 May 2024 14:39:18 +0200 Subject: [PATCH 2/2] handle repo name as well --- templates/user/notification/notification_div.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index 8d77546f7e568..9790a7087a9c4 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -44,7 +44,7 @@ {{end}}
-
+
{{.Repository.FullName}} {{if .Issue}}#{{.Issue.Index}}{{end}} {{if eq .Status 3}} {{svg "octicon-pin" 13 "text blue tw-mt-0.5 tw-ml-1"}}