From fc3e49c706c46c973a6636edb3a9e65c5126a4d0 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 26 Dec 2023 11:29:48 +0100 Subject: [PATCH] truncate, sort --- _includes/motie-card.html | 12 +++++++----- _includes/symbol-anders.html | 2 ++ index.html | 5 +++-- 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 _includes/symbol-anders.html diff --git a/_includes/motie-card.html b/_includes/motie-card.html index 3817c9fc..f3513341 100644 --- a/_includes/motie-card.html +++ b/_includes/motie-card.html @@ -58,13 +58,15 @@
{% for fractie in motie['Stemmingen'][0]['Fracties'] %} -
- {% if fractie[1] == 'Voor' %} +
+ {% case fractie[1] %} + {% when "Voor" %} {% include symbol-voor.html %} - {% endif %} - {% if fractie[1] == 'Tegen' %} + {% when "Tegen" %} {% include symbol-tegen.html %} - {% endif %} + {% else %} + {% include symbol-anders.html %} + {% endcase %} {{ fractie[0] }}
{% endfor %} diff --git a/_includes/symbol-anders.html b/_includes/symbol-anders.html new file mode 100644 index 00000000..03a0a340 --- /dev/null +++ b/_includes/symbol-anders.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/index.html b/index.html index c272f703..1d292ed6 100644 --- a/index.html +++ b/index.html @@ -6,13 +6,14 @@ - Moties en stemmingen 2023 + Moties met stemmingen 2023
-

Moties en stemmingen 2023

+

Moties met stemmingen 2023

+ Een overzicht van alle moties waarover gestemd is in 2023. {% assign lastDate = 0 %} {% for motieTuple in site.data.moties.y2023 reversed %}