From 5606e658a2c143ac8f57b0b4ccc66be3b2649f8b Mon Sep 17 00:00:00 2001 From: William Petit Date: Sun, 23 Feb 2025 20:23:34 +0100 Subject: [PATCH] feat: update question block --- internal/http/handler/webui/issue/component/issue_page.templ | 3 ++- .../http/handler/webui/issue/component/issue_page_templ.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/http/handler/webui/issue/component/issue_page.templ b/internal/http/handler/webui/issue/component/issue_page.templ index 8f3898c..6a63f60 100644 --- a/internal/http/handler/webui/issue/component/issue_page.templ +++ b/internal/http/handler/webui/issue/component/issue_page.templ @@ -159,11 +159,12 @@ templ IssuePage(vmodel IssuePageVModel) { if html != "" {
-

Suggestions

+

Questionnements

+

Utilisez ces quelques questions pour réfléchir aux éléments d'informations nécessaire à la bonne rédaction de votre demande:

@templ.Raw(html)
diff --git a/internal/http/handler/webui/issue/component/issue_page_templ.go b/internal/http/handler/webui/issue/component/issue_page_templ.go index fe37b5a..42452c8 100644 --- a/internal/http/handler/webui/issue/component/issue_page_templ.go +++ b/internal/http/handler/webui/issue/component/issue_page_templ.go @@ -228,7 +228,7 @@ func IssuePage(vmodel IssuePageVModel) templ.Component { if vmodel.IssueTips != "" { html := markdownToHTML(ctx, vmodel.IssueTips) if html != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "

Suggestions

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "

Questionnements

Utilisez ces quelques questions pour réfléchir aux éléments d'informations nécessaire à la bonne rédaction de votre demande:

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }