taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | README | LICENSE

commit df63a0c4d8c6c8b69a130a85961843c90c81097f
parent 590352900291f3b133322ec8005594b62cad1f30
Author: Florian Dold <dold@taler.net>
Date:   Tue, 25 Aug 2026 22:02:28 +0200

merchant demos: remove Bank link icon

Diffstat:
Minternal/web/app_test.go | 4++--
Minternal/web/templates/base.gohtml | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/internal/web/app_test.go b/internal/web/app_test.go @@ -152,8 +152,8 @@ func TestDemoPagesUseDistinctBrandThemes(t *testing.T) { if !strings.Contains(body, test.component) { t.Errorf("response missing themed component %q", test.component) } - if !strings.Contains(body, `>Bank<svg class="link-icon"`) { - t.Error("response missing external-link icon on Bank navigation item") + if strings.Contains(body, `>Bank<svg class="link-icon"`) { + t.Error("response contains external-link icon on Bank navigation item") } if test.stylesheet != "" && !strings.Contains(body, test.stylesheet) { t.Errorf("response missing theme stylesheet %q", test.stylesheet) diff --git a/internal/web/templates/base.gohtml b/internal/web/templates/base.gohtml @@ -96,8 +96,8 @@ <nav class="demo-nav"> {{/* Translators: Name of the introductory demo page, used as a navigation label. */}} <a href="{{.Links.Landing}}" {{if eq .Active "landing"}}class="active" aria-current="page"{{end}}>{{tr .Lang "Introduction"}}</a> - {{/* Translators: Navigation label for the demo bank; this link opens a separate site. */}} - <a href="{{.Links.Bank}}" {{if eq .Active "bank"}}class="active" aria-current="page"{{end}}>{{tr .Lang "Bank"}}{{template "link-icon"}}</a> + {{/* Translators: Navigation label for the demo bank. */}} + <a href="{{.Links.Bank}}" {{if eq .Active "bank"}}class="active" aria-current="page"{{end}}>{{tr .Lang "Bank"}}</a> {{/* Translators: Name of the demo shop that sells individual essays. */}} <a href="{{.Links.Blog}}" {{if eq .Active "blog"}}class="active" aria-current="page"{{end}}>{{tr .Lang "Essay Shop"}}</a> {{/* Translators: Name of the donations demo page, used as a navigation label. */}}