Add "postponed" state for next page

This commit is contained in:
davegson 2020-10-02 11:51:44 +02:00
parent 9482bc989d
commit 23e88b3f1e
3 changed files with 18 additions and 0 deletions

View file

@ -20,6 +20,8 @@
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cog.svg" alt="">
{% elsif include.state == 'discarded' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cross.svg" alt="">
{% elsif include.state == 'postponed' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
{% elsif include.state == 'backlog' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
{% endif %}

View file

@ -50,6 +50,8 @@
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cog.svg" alt="">
{% elsif include.state == 'discarded' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cross.svg" alt="">
{% elsif include.state == 'postponed' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
{% elsif include.state == 'backlog' %}
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
{% endif %}

View file

@ -73,6 +73,20 @@ layout: page
</div>
</div>
{% endif %}
{% if site.data.next.cards.postponed.size > 0 %}
<div class="pt-48">
<div class="nextwrapper">
<div style="margin-top: -3rem;" class="flex absolute pl-8 ">
<span class="opacity-50">Postponed</span>
<strong class="pl-2 opacity-75">({{ site.data.next.cards.postponed.size }})</strong>
</div>
{% for card in site.data.next.cards.postponed %}
{% include project_card.html state = 'postponed' %}
{% endfor %}
</div>
</div>
{% endif %}
</section>
<section class="mt-20 lg:mt-40 mb-16 lg:mb-48">
<div class="items-center h-full">