Skip to content

Commit 7c7c043

Browse files
committed
for CRD, display the latest CRS of the specification
1 parent d0ed074 commit 7c7c043

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates/components/listings/publications/tr_card.html.twig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
</div>
3838
{% endif %}
3939
{% endblock translations %}
40+
{% block crs %}
41+
{% set cr = spec.specification.lastSpecVersionOfType('CR') %}
42+
{% if spec.crd and cr %}
43+
<div>
44+
<dt>Latest Candidate Recommendation Snapshot</dt>
45+
<dd><a href="{{ cr.uri }}">{{ w3c_date_format(cr.date)|raw }}</a></dd>
46+
</div>
47+
{% endif %}
48+
{% endblock crs %}
4049
</dl>
4150
{% block description %}
4251
{{ spec.specification.description|raw }}

0 commit comments

Comments
 (0)