From 986f171167e7b21ffd3ee0c0ec6a8506f0741462 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 12 Aug 2024 23:57:38 +0200 Subject: Make more changes to the mintages --- data/mintages/ad | 56 ++++++++++++++++++++++++++++++++++++++++++- template/coins_mintages.templ | 45 ++++++++++++++++++++++++++-------- 2 files changed, 90 insertions(+), 11 deletions(-) diff --git a/data/mintages/ad b/data/mintages/ad index ca348ce..7055b9b 100644 --- a/data/mintages/ad +++ b/data/mintages/ad @@ -53,5 +53,59 @@ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -2014 "Council of Europe" +2014 "20 Years in the Council of Europe" + ? ? ? + +2015 "30 Years of Political Rights" + ? ? ? + +2015 "25th Anniversary of the Customs Agreement" + ? ? ? + +2016 "25th Anniversary of the Radio and Television of Andorra" + ? ? ? + +2016 "150th Anniversary of the New Reform of 1866" + ? ? ? + +2017 "100th Anniversary of the National Anthem of Andorra" + ? ? ? + +2017 "The Pyrenean Country" + ? ? ? + +2018 "70th Anniversary of the Universal Declaration of Human Rights" + ? ? ? + +2018 "25th Anniversary of the Andorran Constitution" + ? ? ? + +2019 "600th Anniversary of the Council of the Land" + ? ? ? + +2019 "2019 Alpine Ski World Cup Finals" + ? ? ? + +2020 "50 Years of Universal Female Suffrage" + ? ? ? + +2020 "The 27th Ibero-American Summit" + ? ? ? + +2021 "Taking Care of Our Seniors" + ? ? ? + +2021 "Our Lady of Meritxell" + ? ? ? + +2022 "The Legend of Charlemagne" + ? ? ? + +2022 "10th Anniversary of the Monetary Agreement with the EU" + ? ? ? + +2023 "Summer Solstice Fire Festivals in the Pyrenees" + ? ? ? + +2023 "30 Years of United Nations Membership" ? ? ? diff --git a/template/coins_mintages.templ b/template/coins_mintages.templ index 3446644..894cb75 100644 --- a/template/coins_mintages.templ +++ b/template/coins_mintages.templ @@ -100,16 +100,41 @@ templ CoinsMintages() { -
-
{ p.T("Commemorative Coins") }
- - - - - - -
{ p.T("Year") }{ p.T("Commemorated Issue") }{ p.T("Mintage") }
-
+ if len(data.Commemorative) != 0 { +
+
{ p.T("Commemorative Coins") }
+ + + + + + + + for _, row := range data.Commemorative { + + + + + switch row.Mintage[strToCtype(ctype)] { + case mintage.Unknown: + + case 0: + + default: + + } + + } + +
{ p.T("Year") }{ p.T("Commemorated Issue") }{ p.T("Mintage") }
+ if len(row.Mintmark) != 0 { + { strconv.Itoa(row.Year) } { row.Mintmark } + } else { + { strconv.Itoa(row.Year) } + } + { row.Name }{ p.T("Unknown") }{ p.N(row.Mintage[strToCtype(ctype)]) }
+
+ } } -- cgit v1.2.3