From 8ece9e8a6de8e0dd1d5ee0318884e9a4e131b026 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 21 Sep 2024 11:49:47 +0200 Subject: Remove the template.old/ directory --- template.old/language.templ | 54 --------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 template.old/language.templ (limited to 'template.old/language.templ') diff --git a/template.old/language.templ b/template.old/language.templ deleted file mode 100644 index 1b48295..0000000 --- a/template.old/language.templ +++ /dev/null @@ -1,54 +0,0 @@ -package template - -import ( - "strings" - - "git.thomasvoss.com/euro-cash.eu/lib" -) - -templ Language() { - {{ p := ctx.Value("printer").(lib.Printer) }} -
- @navbar() -

{ p.T("Select Your Language") }

-
-
-

- { p.T("Select your preferred language to use on the site.") } -

-

- If you are an American user, it’s suggested that you select - American English instead of British English. This will ensure that - dates will be formatted with the month before the day. -

-
-

{ p.T("Eurozone Languages") }

- @languageGrid(true) -

{ p.T("Other Languages") }

- @languageGrid(false) -
-} - -templ languageGrid(eurozone bool) { -
-
- for _, loc := range lib.Locales { - if loc.Eurozone == eurozone { - - } - } -
-
-} -- cgit v1.2.3