Skip to content

Commit 8d53770

Browse files
committed
Link to warnings if build triggered
1 parent d515419 commit 8d53770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

template.html.jinja

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
{{ project.translators.number }}
5050
{% if project.translators.link %}</a>{% endif %}
5151
</td>
52-
<td data-label="warnings"><a href="warnings-{{ project.language.code }}.txt">{{ project.warnings }}</a></td>
52+
<td data-label="warnings">
53+
{% if completion %}<a href="warnings-{{ project.language.code }}.txt">{{ project.warnings }}</a>{% else %}{{ project.warnings }}{% endif %}
54+
</td>
5355
<td data-label="completion">
5456
<div class="progress-bar" style="width: {{ project.completion }}%;">{{ "{:.2f}".format(project.completion) }}%</div>
5557
<div class="progress-bar-outer-label">{{ "{:.2f}".format(project.completion) }}%</div>

0 commit comments

Comments
 (0)