From 15f841ab43fd9b431e93d2e870c23ae7695929cc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 3 Nov 2025 13:52:36 +0100 Subject: Fix a lot of UI issues --- src/templates/coins-designs-ee.html.tmpl | 126 +++++++++++++++---------------- 1 file changed, 63 insertions(+), 63 deletions(-) (limited to 'src/templates/coins-designs-ee.html.tmpl') diff --git a/src/templates/coins-designs-ee.html.tmpl b/src/templates/coins-designs-ee.html.tmpl index ee648db..9f0e822 100644 --- a/src/templates/coins-designs-ee.html.tmpl +++ b/src/templates/coins-designs-ee.html.tmpl @@ -50,11 +50,11 @@ {{ end }} {{ define "content" }} -
+
{{ template "navbar" . }}

{{ .Get "Estonian Euro Coin Designs" }}

-
+
{{ .Get `Estonian €1 coin` }} - {{ .Get "Position" }} + {{ .GetC "Position" "Header/Label" }} - {{ .Get "Name" }}
- {{ .Get "Translation" }} + {{ .GetC "Name" "Header/Label" }}
+ {{ .GetC "Translation" "Header/Label" }} - {{ .Get "Author(s)" }} - {{ .Get "Votes" }} - {{ .Get "Votes (%)" }} + {{ .GetC "Author(s)" "Header/Label" }} + {{ .GetC "Votes" "Header/Label" }} + {{ .GetC "Votes (%)" "Header/Label" }} {{ $args := map "Break" "
" }} - {{ $tag := printf `td data-label="%s"` (.Get "Name") }} - {{ $attr := printf `data-label="%s"` (.Get "Translation") }} + {{ $tag := printf `td data-label="%s"` (.GetC "Name" "Header/Label") }} + {{ $attr := printf `data-label="%s"` (.GetC "Translation" "Header/Label") }} - 1 + 1 {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} - {{ withTranslation $tag "et" "Hara 2" - (.Get "Hara 2") $attr }} - {{ .Get "Lembit Lõhmus" }} - {{ .Printer.Itoa 12482 }} - {{ .Printer.Ftop 27.46 }} + {{ withTranslation $tag "et" "Hara 2" + (.GetC "Hara 2" "Coin Design") $attr }} + {{ .Get "Lembit Lõhmus" }} + {{ .Printer.Itoa 12482 }} + {{ .Printer.Ftop 27.46 }} - 2 + 2 {{ withTranslation $tag "et" "Järjepidevus" - (.Get "Consistency") $attr }} - {{ .Get "Tiit Jürna" }} - {{ .Printer.Itoa 7477 }} - {{ .Printer.Ftop 16.45 }} + (.GetC "Consistency" "Coin Design") $attr }} + {{ .Get "Tiit Jürna" }} + {{ .Printer.Itoa 7477 }} + {{ .Printer.Ftop 16.45 }} - 3 + 3 {{ withTranslation $tag "la" "In corpore" - (.Get "In the Body") $attr }} - {{ .Get "Jaan Meristo" }} - {{ .Printer.Itoa 7284 }} - {{ .Printer.Ftop 16.03 }} + (.GetC "In the Body" "Coin Design") $attr }} + {{ .Get "Jaan Meristo" }} + {{ .Printer.Itoa 7284 }} + {{ .Printer.Ftop 16.03 }} - 4 + 4 {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} {{ withTranslation $tag "et" "Tomson 5791" - (.Get "Tomson 5791") $attr }} - {{ .Get "Taavi Torim" }} - {{ .Printer.Itoa 6219 }} - {{ .Printer.Ftop 13.68 }} + (.GetC "Tomson 5791" "Coin Design") $attr }} + {{ .Get "Taavi Torim" }} + {{ .Printer.Itoa 6219 }} + {{ .Printer.Ftop 13.68 }} - 5 - {{/* TRANSLATORS: Estonian Translators: ‘Estonian’ as in the language, not the nationality */}} + 5 + {{/* TRANSLATORS: ‘Estonian’ as in the language, not the nationality */}} {{ withTranslation $tag "et" "Eesti keel" (.GetC "Estonian" "Coin Design") $attr }} - {{ .Get "Jaak Peep, Villem Valme" }} - {{ .Printer.Itoa 5997 }} - {{ .Printer.Ftop 13.19 }} + {{ .Get "Jaak Peep, Villem Valme" }} + {{ .Printer.Itoa 5997 }} + {{ .Printer.Ftop 13.19 }} - 6 - 261948 - {{ .Get "Mai Järmut, Villu Järmut" }} - {{ .Printer.Itoa 3036 }} - {{ .Printer.Ftop 6.68 }} + 6 + 261948 + {{ .Get "Mai Järmut, Villu Järmut" }} + {{ .Printer.Itoa 3036 }} + {{ .Printer.Ftop 6.68 }} - 7 + 7 {{ withTranslation $tag "et" "Linnutee" - (.Get "Bird Road") $attr }} - {{ .Get "Tiit Jürna" }} - {{ .Printer.Itoa 1323 }} - {{ .Printer.Ftop 2.91 }} + (.GetC "Bird Road" "Coin Design") $attr }} + {{ .Get "Tiit Jürna" }} + {{ .Printer.Itoa 1323 }} + {{ .Printer.Ftop 2.91 }} - 8 + 8 {{ withTranslation $tag "et" "Leopardid-2" - (.Get "Leopards-2") $attr }} - {{ .Get "Jaarno Ester" }} - {{ .Printer.Itoa 759 }} - {{ .Printer.Ftop 1.67 }} + (.GetC "Leopards-2" "Coin Design") $attr }} + {{ .Get "Jaarno Ester" }} + {{ .Printer.Itoa 759 }} + {{ .Printer.Ftop 1.67 }} - 9 + 9 {{/* TRANSLATORS: Name of a coin design. Don’t translate unless you use a non-latin script */}} {{ withTranslation $tag "et" "Nova" - (.Get "Nova") $attr }} - {{ .Get "Rene Haljasmäe" }} - {{ .Printer.Itoa 498 }} - {{ .Printer.Ftop 1.1 }} + (.GetC "Nova" "Coin Design") $attr }} + {{ .Get "Rene Haljasmäe" }} + {{ .Printer.Itoa 498 }} + {{ .Printer.Ftop 1.1 }} - 10 + 10 {{ withTranslation $tag "et" "Lill rukkis" - (.Get "A Flower in the Rye") $attr }} - {{ .Get "Margus Kadarik" }} - {{ .Printer.Itoa 378 }} - {{ .Printer.Ftop 0.83 }} + (.GetC "A Flower in the Rye" "Coin Design") $attr }} + {{ .Get "Margus Kadarik" }} + {{ .Printer.Itoa 378 }} + {{ .Printer.Ftop 0.83 }} - {{ .Get "Total" }} + {{ .GetC "Total" "Header/Label" }} {{ .Printer.Itoa 45453 }} {{ .Printer.Ftop 100.0 }}
-{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3