swarms/_includes/ideastable.html

33 lines
1.2 KiB
HTML

{% 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>
<td class="success-metrics">{{page.success-metrics|xml_escape}}</td>
<td class="exit-criteria">{{page.exit-criteria|xml_escape}}</td>
<td class="clear-roles">{{page.clear-roles|xml_escape}}</td>
<td class="future-iterations">{{page.future-iterations|xml_escape}}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endfor %}