Skip to content

Commit a947d8d

Browse files
Commit
1 parent a6b77b9 commit a947d8d

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

templates/metadata.html.jinja

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22

33
{% block main %}
44
<table>
5-
<thead>
6-
<tr>
7-
<th>language</th>
8-
<th>branch</th>
9-
<th>last updated</th>
10-
<th>build warnings*</th>
11-
<th>lint failures</th>
12-
</tr>
13-
</thead>
14-
<tbody>
15-
{% for project, metadata in metadata | sort(attribute='0.completion') | reverse %}
16-
{% if project.repository %}
17-
<tr>
18-
<td data-label="language">{{ project.language.name }} ({{ project.language.code }})</td>
19-
<td data-label="branch">{{ project.branch }}</td>
20-
<td data-label="updated">{{ metadata[2].strftime('%Y/%m/%d %T') if metadata[2] else '' }}</td>
21-
<td data-label="warnings">
22-
{% if project.completion %}<a href="warnings-{{ project.language.code }}.txt">{{ metadata[0] }}</a>{% else %}{{ metadata[0] }}{% endif %}
23-
</td>
24-
<td data-label="lint">
25-
{% if project.completion %}<a href="warnings-lint-{{ project.language.code }}.txt">{{ metadata[1] }}</a>{% else %}{{ metadata[1] }}{% endif %}
26-
</td>
27-
</tr>
28-
{% endif %}
29-
{% endfor %}
30-
</tbody>
5+
<thead>
6+
<tr>
7+
<th>language</th>
8+
<th>branch</th>
9+
<th>last updated</th>
10+
<th>build warnings*</th>
11+
<th>lint failures</th>
12+
</tr>
13+
</thead>
14+
<tbody>
15+
{% for project, metadata in metadata | sort(attribute='0.completion') | reverse %}
16+
{% if project.repository %}
17+
<tr>
18+
<td data-label="language">{{ project.language.name }} ({{ project.language.code }})</td>
19+
<td data-label="branch">{{ project.branch }}</td>
20+
<td data-label="updated">{{ metadata[2].strftime('%Y/%m/%d %T') if metadata[2] else '' }}</td>
21+
<td data-label="warnings">
22+
{% if project.completion %}<a href="warnings-{{ project.language.code }}.txt">{{ metadata[0] }}</a>{% else %}{{ metadata[0] }}{% endif %}
23+
</td>
24+
<td data-label="lint">
25+
{% if project.completion %}<a href="warnings-lint-{{ project.language.code }}.txt">{{ metadata[1] }}</a>{% else %}{{ metadata[1] }}{% endif %}
26+
</td>
27+
</tr>
28+
{% endif %}
29+
{% endfor %}
30+
</tbody>
3131
</table>
3232

3333
<p>* number of Sphinx build process warnings</p>

0 commit comments

Comments
 (0)