Skip to content

Commit 2d5ed60

Browse files
committed
Fixed some html issues found by the html validation in bin/test-crawl.
- Legacy-Id: 9571
1 parent 2b7074e commit 2d5ed60

1 file changed

Lines changed: 22 additions & 13 deletions

File tree

ietf/templates/group/group_about.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111
{% endif %}
1212

1313
<table class="table table-condensed">
14+
<tbody>
1415
<tr>
15-
<th rowspan="7">{{ group.type.name }}</th>
16-
</tr>
17-
18-
<tr>
16+
<th rowspan="{{table_rows.group}}">{{ group.type.name }}</th>
1917
<th>Name</th>
2018
<td>{{ group.name }}</td>
2119
</tr>
@@ -59,22 +57,26 @@
5957
{% endif %}
6058
</tr>
6159

62-
<tr>
60+
6361
{% with group.groupurl_set.all as urls %}
6462
{% if urls %}
63+
<tr>
6564
<th>More info</th>
6665
<td>
6766
{% for url in urls %}
6867
<a href="{{ url.url }}">{% firstof url.name url.url %}</a>{% if not forloop.last %}<br>{% endif %}
6968
{% endfor %}
7069
</td>
70+
</tr>
7171
{% endif %}
7272
{% endwith %}
73-
</tr>
74-
75-
<tr><th rowspan="{{group.personnel|length|add:"1"}}">Personnel</th></tr>
73+
</tbody>
74+
<tbody>
7675
{% for slug, label, roles in group.personnel %}
7776
<tr>
77+
{% if forloop.first %}
78+
<th rowspan="{{table_rows.personnel}}">Personnel</th>
79+
{% endif %}
7880
<th>{{ label }}</th>
7981
<td>
8082
{% for r in roles %}
@@ -86,18 +88,24 @@
8688
</tr>
8789
{% endfor %}
8890

89-
{% if group.list_email %}
90-
<tr><th rowspan="4">Mailing list</th></tr>
91+
</tbody>
92+
9193

92-
<tr><th>Address</th><td>{{ group.list_email|urlize }}</td></tr>
94+
{% if group.list_email %}
95+
<tbody>
96+
<tr>
97+
<th rowspan="3">Mailing list</th>
98+
<th>Address</th><td>{{ group.list_email|urlize }}</td>
99+
</tr>
93100
<tr><th>To subscribe</th><td>{{ group.list_subscribe|urlize }}</td></tr>
94101
<tr><th>Archive</th><td>{{ group.list_archive|urlize }}</td></tr>
102+
</tbody>
95103
{% endif %}
96104

97105
{% if group.state_id != "conclude" %}
98-
<tr><th rowspan="3">Jabber chat</th></tr>
99-
106+
<tbody>
100107
<tr>
108+
<th rowspan="2">Jabber chat</th>
101109
<th>Room address</th>
102110
<td><a href="xmpp://{{ group.acronym }}@jabber.ietf.org">xmpp://{{ group.acronym }}@jabber.ietf.org</a></td>
103111
</tr>
@@ -106,6 +114,7 @@
106114
<th>Logs</th>
107115
<td><a href="https://jabber.ietf.org/logs/{{ group.acronym }}/">https://jabber.ietf.org/logs/{{ group.acronym }}/</a></td>
108116
</tr>
117+
</tbody>
109118
{% endif %}
110119
</table>
111120

0 commit comments

Comments
 (0)