intent/templates/implementations/_table.html

20 lines
736 B
HTML
Raw Normal View History

<table>
<caption class="visually-hidden">{{ caption }} implementations</caption>
<thead>
<tr>
<th scope="col">Implementation</th>
<th scope="col">Link</th>
<th scope="col">Features</th>
</tr>
</thead>
<tbody>
{% for impl in impls %}
<tr>
<th scope="row"><a href="{% url 'implementations:detail' org_slug=project.org.slug project_slug=project.slug impl_id=impl.pk %}">{{ impl.name }}</a></th>
<td><a href="{{ impl.url }}" rel="noopener noreferrer">{{ impl.url }}</a></td>
<td>{% for label, count in impl.summary %}{{ label }}: {{ count }}{% if not forloop.last %}; {% endif %}{% empty %}No features yet{% endfor %}</td>
</tr>
{% endfor %}
</tbody>
</table>