From 23e88b3f1e20f34471cbddba947c9744cde97283 Mon Sep 17 00:00:00 2001 From: davegson <3080765+davegson@users.noreply.github.com> Date: Fri, 2 Oct 2020 11:51:44 +0200 Subject: [PATCH] Add "postponed" state for next page --- _includes/project_card.html | 2 ++ _includes/project_tablecard.html | 2 ++ next/index.html | 14 ++++++++++++++ 3 files changed, 18 insertions(+) diff --git a/_includes/project_card.html b/_includes/project_card.html index b281ebc..53e5db0 100644 --- a/_includes/project_card.html +++ b/_includes/project_card.html @@ -20,6 +20,8 @@ {% elsif include.state == 'discarded' %} + {% elsif include.state == 'postponed' %} + {% elsif include.state == 'backlog' %} {% endif %} diff --git a/_includes/project_tablecard.html b/_includes/project_tablecard.html index bfafbbe..d3b8535 100644 --- a/_includes/project_tablecard.html +++ b/_includes/project_tablecard.html @@ -50,6 +50,8 @@ {% elsif include.state == 'discarded' %} + {% elsif include.state == 'postponed' %} + {% elsif include.state == 'backlog' %} {% endif %} diff --git a/next/index.html b/next/index.html index 3c5619a..0857494 100644 --- a/next/index.html +++ b/next/index.html @@ -73,6 +73,20 @@ layout: page {% endif %} + {% if site.data.next.cards.postponed.size > 0 %} +
+
+
+ Postponed + ({{ site.data.next.cards.postponed.size }}) +
+ + {% for card in site.data.next.cards.postponed %} + {% include project_card.html state = 'postponed' %} + {% endfor %} +
+
+ {% endif %}