1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-08 21:19:09 +00:00

DRY up newest progress update

This commit is contained in:
davegson 2022-02-14 13:46:34 +01:00
parent 6a74405441
commit 0cc580412c

View file

@ -195,61 +195,4 @@ cards:
discarded:
---
<div>
{% if page.cards.done.size > 0 %}
<div class="pt-12">
<div style="max-width: 750px; margin-top: 3rem; margin: auto;">
<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="pt-10 blogwrapper">
{% 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="pt-12">
<div style="max-width: 750px; margin-top: 3rem; margin: auto;">
<h3 >In Progress</h3>
<p>Expand any work package to find out more about its progress, obstacles and sub-achievements.</p>
</div>
<div class="pt-10 blogwrapper">
{% 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="pt-12">
<div style="max-width: 750px; margin-top: 3rem; margin: auto;">
<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="pt-10 blogwrapper">
{% for card in page.cards.discarded %}
{% include project_tablecard.html state = 'discarded' %}
{% endfor %}
</div>
</div>
{% endif %}
{% if page.cards.postponed.size > 0 %}
<div class="pt-12">
<div style="max-width: 750px; margin-top: 3rem; margin: auto;">
<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="pt-10 blogwrapper">
{% for card in page.cards.postponed %}
{% include project_tablecard.html state = 'postponed' %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% include progress-update-tablecards.html %}