fix(web): space between the documents in the consent text
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 10m59s
ci / test (pull_request) Successful in 12m30s
ci / build (pull_request) Successful in 18m22s
ci / image (pull_request) Successful in 5m54s

The sign-up and consent pages ran the first document's link into the
word joining it to the next, as in "Datenschutzerklärungund die AGB".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-24 22:29:37 +01:00
1 parent acd8c2252d
commit 135209fe79
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ type SignupConsent struct {
templ consentLinks(docs []LegalLink) {
for i, d := range docs {
if i > 0 {
{ i18n.T(ctx, "consent.and") }
{ " " + i18n.T(ctx, "consent.and") }
}
<a href={ templ.SafeURL(d.Href) } target="_blank" rel="noopener" class="underline underline-offset-2">{ i18n.T(ctx, "consent.doc."+d.Kind) }</a>
}
+2 -2
View File
@@ -356,9 +356,9 @@ func consentLinks(docs []LegalLink) templ.Component {
for i, d := range docs {
if i > 0 {
var templ_7745c5c3_Var17 string
templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.JoinStringErrs(i18n.T(ctx, "consent.and"))
templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.JoinStringErrs(" " + i18n.T(ctx, "consent.and"))
if templ_7745c5c3_Err != nil {
return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/web/auth.templ`, Line: 81, Col: 31}
return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/web/auth.templ`, Line: 81, Col: 37}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var17))
if templ_7745c5c3_Err != nil {