Skip to content

Commit b2c55da

Browse files
committed
replace editors with WG
1 parent 901347d commit b2c55da

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</h3>
66
{% block maturity %}{% endblock %}
77
</div>
8-
<p>{{ w3c_date_format(spec.date)|raw }}{% block history %} - <a href="{{ path('history_view', { 'spec': spec.specification.shortname }) }}">history</a>{% endblock history%}</p>
8+
<div>{{ w3c_date_format(spec.date)|raw }}{% block history %} - <a href="{{ path('history_view', { 'spec': spec.specification.shortname }) }}">history</a>{% endblock history%}</div>
99
<dl class="inline">
1010
{% block tags %}
1111
{% if spec.specification.tags|length > 0 %}
@@ -17,16 +17,16 @@
1717
</div>
1818
{% endif %}
1919
{% endblock tags %}
20-
{% block editors %}
21-
{% if spec.editors|length > 0 %}
20+
{% block deliverers %}
21+
{% if spec.deliverers|filter(d => d.group.shortname != 'unknownwg')|length > 0 %}
2222
<div>
23-
<dt>Editors</dt>
24-
{% for editor in spec.editors|map(e => "#{e.user.name}") -%}
25-
<dd>{{ editor }}</dd>
23+
<dt>Deliverers</dt>
24+
{% for deliverer in spec.deliverers -%}
25+
<dd><a href="{{ path('groups_show_about', {'type': deliverer.group.groupType, 'shortname': deliverer.group.shortname })}}">{{ deliverer.group.name }}</a></dd>
2626
{% endfor -%}
2727
</div>
2828
{% endif %}
29-
{% endblock editors %}
29+
{% endblock deliverers %}
3030
{% block translations %}
3131
{% if spec.translations and spec.translations.translations|length > 0 %}
3232
<div class="translation-list">

0 commit comments

Comments
 (0)