mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-25 23:00:40 +08:00
38 lines
1,005 B
HTML
Vendored
38 lines
1,005 B
HTML
Vendored
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load weblate %}
|
|
{% load url from future %}
|
|
|
|
{% block breadcums %}
|
|
<li><a href="{% url 'trans.views.show_checks' %}">{% trans "checks" %}</a></li>
|
|
<li><a href="{% url 'trans.views.show_check' name=sample.check %}">{{ sample.get_check_display }}</a></li>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<p>
|
|
{{ sample.get_description }}
|
|
</p>
|
|
|
|
<p>
|
|
{% blocktrans with sample.get_doc_url as link %}More information about this check is available in the <a href="{{ link }}">documentation</a>.{% endblocktrans %}
|
|
</p>
|
|
|
|
<table class="sort simple">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans "Project" %}</th>
|
|
<th>{% trans "Failures" %}</th>
|
|
</tr>
|
|
<tbody>
|
|
{% for check in checks %}
|
|
<tr>
|
|
<th><a href="{% url 'trans.views.show_project' project=check.project__slug %}">{% project_name check.project__slug %}</a></th>
|
|
<td><a href="{% url 'trans.views.show_check_project' name=sample.check project=check.project__slug %}">{{ check.count }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|