swarms/_includes/ideastable.html

33 lines
1.3 KiB
HTML
Raw Normal View History

{% for status in site.data.statuses %}
{% assign ideas = include.ideas | where:"status", status%}
{% assign count = ideas|size %}
{% if count > 0 %}
<h2>{{status}}</h2>
<table class="ideastable">
<thead>
<tr>
<th class="id">Idea</th>
<th class="title">Title</th>
<th class="categ">Category</th>
<th class="success_metrics">Success metrics?</th>
<th class="exit_criteria">Exit criteria?</th>
<th class="clear_roles">Clear roles?</th>
<th class="future_iterations">Future iterations?</th>
</tr>
</thead>
{% for page in ideas %}
<tr>
<td class="id"><a href="{{page.url|relative_url}}">{{page.id|xml_escape}}</a></td>
<td class="title">{{page.title|xml_escape}}</td>
<td class="categ">{{page.category|xml_escape}}</td>
2018-04-24 02:05:57 +00:00
<td class="success-metrics">{% if page.success-metrics %}✅ {% else %}❌{% endif %}</td>
<td class="exit-criteria">{% if page.exit-criteria %}✅{% else %}❌{% endif %}</td>
<td class="clear-roles">{% if page.clear-roles %}✅{% else %}❌{% endif %}</td>
<td class="future-iterations">{% if page.future-iterations %}✅{% else %}❌{% endif %}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endfor %}