diff options
-rwxr-xr-x | build | 17 | ||||
-rw-r--r-- | data/coins | 2 | ||||
-rw-r--r-- | data/errors | 2 | ||||
-rw-r--r-- | src/en/euro/coins.template.html | 32 | ||||
-rw-r--r-- | src/pt/euro/coins.template.html | 33 | ||||
-rw-r--r-- | src/style.css | 19 |
6 files changed, 82 insertions, 23 deletions
@@ -235,6 +235,23 @@ compile_for_lang() { | colspan.sed \ | grep -Fv 'MARKER LOL' \ | xfsub '<!-- CCOIN-TABLE-BODY -->' - $nod/index.html + + gawk -v CC=$CC -v lang=$1 ' + BEGIN { + FS = "\t" + } + + $1 == CC { + if (lang !~ /(en|ga|mt|nl)/) { + sub(/\./, ",", $3) + sub(/€/, "", $3) + sub(/$/, " €", $3) + } + + printf "<tr><td>%s</td><td>%s</td><td colspan=5 class=have>%s</td></tr>", + $2, $3, $4 + } + ' data/errors | xfsub '<!-- ECOIN-TABLE-BODY -->' - $nod/index.html done for denom in `grep -Eo '^[0-9]+' data/notes | uniq`; do @@ -232,8 +232,6 @@ ES - - X X - - - - 2021 ES - - - - - - - - 2022 ES ? ? ? ? ? ? ? ? 2023 -FI / / / / / / / X 1999 1/3 -FI / / / / / / / X 1999 2/3 FI X - X X X X X X 1999 FI X - X X X X X X 2000 FI - - X - X X X X 2001 diff --git a/data/errors b/data/errors new file mode 100644 index 0000000..13600e0 --- /dev/null +++ b/data/errors @@ -0,0 +1,2 @@ +FI 1999 €2.00 <span style="color: black; font-variant: diagonal-fractions">1/3</span> ‘9’s filled +FI 1999 €2.00 <span style="color: black; font-variant: diagonal-fractions">2/3</span> ‘9’s filled diff --git a/src/en/euro/coins.template.html b/src/en/euro/coins.template.html index 7f9e570..840752c 100644 --- a/src/en/euro/coins.template.html +++ b/src/en/euro/coins.template.html @@ -37,16 +37,6 @@ </section> <br /> <!-- FI-DE --> - <!-- IF-FI --> - <section> - <p> - There is an error that exists for €2 coins minted in 1999 where the - holes in one, two, or even three of the 9’s are filled. The number of - 9’s filled is displayed with a fraction (e.g. 2/3 for two 9’s filled). - </p> - </section> - <br /> - <!-- FI-FI --> <!-- IF-GR --> <section> <p> @@ -154,6 +144,28 @@ </section> <!-- FI-!HR --> + <!-- IF-FI --> + <section class="cl-section slant-down"> + <div> + <table class="coin-table commemorative-table error-table" cellspacing=0> + <thead> + <tr> + <th colspan=7>Error Coins</th> + </tr> + <tr> + <th>Year</th> + <th>Denomination</th> + <th colspan=5>Description</th> + </tr> + </thead> + <tbody> + <!-- ECOIN-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + <!-- FI-FI --> + <section><!-- FOOTER --></section> </main> </body> diff --git a/src/pt/euro/coins.template.html b/src/pt/euro/coins.template.html index 4d0e08d..61eac15 100644 --- a/src/pt/euro/coins.template.html +++ b/src/pt/euro/coins.template.html @@ -37,17 +37,6 @@ </section> <br /> <!-- FI-DE --> - <!-- IF-FI --> - <section> - <p> - Existe um erro nas moedas de 2 € cunhadas em 1999, onde os buracos em - um, dois ou até três dos 9s são preenchidos. O número de 9s - preenchidos é exibido com uma fração (por exemplo, 2/3 para dois 9s - preenchidos). - </p> - </section> - <br /> - <!-- FI-FI --> <!-- IF-GR --> <section> <p> @@ -156,6 +145,28 @@ </section> <!-- FI-!HR --> + <!-- IF-FI --> + <section class="cl-section slant-down"> + <div> + <table class="coin-table commemorative-table" cellspacing=0> + <thead> + <tr> + <th colspan=7>Error Coins</th> + </tr> + <tr> + <th>Year</th> + <th>Denomination</th> + <th colspan=5>Description</th> + </tr> + </thead> + <tbody> + <!-- ECOIN-TABLE-BODY --> + </tbody> + </table> + </div> + </section> + <!-- FI-FI --> + <section><!-- FOOTER --></section> </main> </body> diff --git a/src/style.css b/src/style.css index 0d74003..3649075 100644 --- a/src/style.css +++ b/src/style.css @@ -826,3 +826,22 @@ div .country-table:not(:first-child) { #lang-button { display: none; } + +.error-table tbody td:nth-child(2) { + border: none; +} + +.error-table tbody tr:first-child td:last-child { + border-top: none; + border-top-left-radius: 16px; +} + +.error-table tbody tr:last-child td:last-child { + border-bottom: none; + border-bottom-left-radius: 16px; +} + +.error-table tbody td:last-child { + border-left: none; + border-right: none; +} |