From 50052011c607b376159aef7d0117cdb28c83f3b4 Mon Sep 17 00:00:00 2001
From: Luke <16389426+LukeSeers@users.noreply.github.com>
Date: Thu, 3 Feb 2022 12:20:42 +0100
Subject: [PATCH] Add progress-update-tablecards

---
 _includes/progress-update-tablecards.html | 54 +++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 _includes/progress-update-tablecards.html

diff --git a/_includes/progress-update-tablecards.html b/_includes/progress-update-tablecards.html
new file mode 100644
index 0000000..4b66753
--- /dev/null
+++ b/_includes/progress-update-tablecards.html
@@ -0,0 +1,54 @@
+<div class="space-y-10">
+    {% if page.cards.done.size > 0 %}
+      <div class="space-y-10">
+        <div class="space-y-3" style="max-width: 750px;">
+          <h3>Completed</h3>
+          <p>A list of work packages we've fully wrapped up this month. Expand any to find out more about its conclusion.</p>
+        </div>
+        <div class="space-y-3">
+          {% for card in page.cards.done %}
+            {% include project_tablecard.html state = 'done' %}
+          {% endfor %}
+        </div>
+      </div>
+    {% endif %}
+    {% if page.cards.in_progress.size > 0 %}
+      <div class="space-y-10">
+        <div class="space-y-3" style="max-width: 750px;">
+          <h3>In Progress</h3>
+          <p>Expand any work package to find out more about its progress, obstacles and sub-achievements.</p>
+        </div>
+        <div class="space-y-3">
+          {% for card in page.cards.in_progress %}
+            {% include project_tablecard.html state = 'in_progress' %}
+          {% endfor %}
+        </div>
+      </div>
+    {% endif %}
+    {% if page.cards.discarded.size > 0 %}
+      <div class="space-y-10">
+        <div class="space-y-3" style="max-width: 750px;">
+          <h3>Discarded</h3>
+          <p>Work packages we for one reason or the other decided to discard. Click on a package to find out the exact reasons why.</p>
+        </div>
+        <div class="space-y-3">
+          {% for card in page.cards.discarded %}
+            {% include project_tablecard.html state = 'discarded' %}
+          {% endfor %}
+        </div>
+      </div>
+    {% endif %}
+    {% if page.cards.postponed.size > 0 %}
+      <div class="space-y-10">
+        <div class="space-y-3" style="max-width: 750px;">
+          <h3>Postponed</h3>
+          <p>Work packages we for one reason or the other decided to postpone. Click on a package to find out the exact reasons why.</p>
+        </div>
+        <div class="space-y-3">
+          {% for card in page.cards.postponed %}
+            {% include project_tablecard.html state = 'postponed' %}
+          {% endfor %}
+        </div>
+      </div>
+    {% endif %}
+  </div>
\ No newline at end of file