swarms/_includes/ideastable.html
Oskar Thorén 8d5673e214
Static site for ideas, dynamically generated index (#185)
- Feature complete with README.md

- Idea registry, commitment registry and classifieds

- Core Contributors tracked in contributors.yaml

- Updated yaml front matter for in progress ideas a few from other states
2018-04-20 23:40:46 +08:00

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 %}