We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c7c043 commit 49b0675Copy full SHA for 49b0675
templates/components/listings/publications/tr_card.html.twig
@@ -38,12 +38,14 @@
38
{% endif %}
39
{% 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>
+ {% if spec.crd %}
+ {% set cr = spec.specification.lastSpecVersionOfType('CR') %} %}
+ {% if cr %}
+ <div>
+ <dt>Latest Candidate Recommendation Snapshot</dt>
+ <dd><a href="{{ cr.uri }}">{{ w3c_date_format(cr.date)|raw }}</a></dd>
47
+ </div>
48
+ {% endif %}
49
50
{% endblock crs %}
51
</dl>
0 commit comments