DCIPs/_includes/dciptable.html

37 lines
1.2 KiB
HTML
Raw Normal View History

<style type="text/css">
2023-04-17 17:13:40 +00:00
.dciptable .title {
width: 67%;
}
2023-04-17 17:13:40 +00:00
.dciptable .author {
width: 33%;
}
</style>
{% for status in site.data.statuses %}
2023-04-17 17:13:40 +00:00
{% assign dcips = include.dcips|where:"status",status|sort:"dcip" %}
{% assign count = dcips|size %}
{% if count > 0 %}
<h2 id="{{status|slugify}}">{{status}}</h2>
2023-04-17 17:13:40 +00:00
<table class="dciptable">
<thead>
{% if status == "Last Call" %}
<tr>
2023-04-17 17:13:40 +00:00
<th class="dcipnum">Number</th><th class="date">Review ends</th><th class="title">Title</th><th class="author">Author</th></tr>
{% else %}
2023-04-17 17:13:40 +00:00
<tr><th class="dcipnum">Number</th><th class="title">Title</th><th class="author">Author</th></tr>
{% endif %}
</thead>
2023-04-17 17:13:40 +00:00
{% for page in dcips %}
<tr>
2023-04-17 17:13:40 +00:00
<td class="dcipnum"><a href="{{page.url|relative_url}}">{{page.dcip|xml_escape}}</a></td>
{% if status == "Last Call" and page.last-call-deadline != undefined %}
<td class="date">{{ page.last-call-deadline | xml_escape }}</td>
{% endif %}
<td class="title">{{page.title|xml_escape}}</td>
<td class="author">{% include authorlist.html authors=page.author %}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% endfor %}