{% extends "base.html" %}
{% load i18n %}
{% load translations %}
{% load url from future %}

{% block breadcrumbs %}
<li><a href="{% url 'checks' %}">{% trans "Checks" %}</a></li>
{% endblock %}

{% block content %}

<div class="row">
<div class="col-md-6">
<div class="panel panel-primary">
  <div class="panel-heading"><h4 class="panel-title">{% trans "Checks listing" %}</h4></div>
  <div class="panel-body">

<div class="list-group">
{% for check in checks %}
<a class="list-group-item" href="{% url 'show_check' name=check.check %}{{ url_params }}"><span class="badge">{{ check.count }}</span><abbr title="{% check_description check.check %}">{% check_name check.check %}</abbr></a>
{% endfor %}
</div>

</div>
</div>
</div>

<div class="col-md-6">
<div class="panel panel-primary">
  <div class="panel-heading"><h4 class="panel-title">{% trans "Information" %}</h4></div>
  <div class="panel-body">
  <p>{% trans "Customizable quality checks will help you in improving quality of translations." %}</p>
  <p>{% trans "The checks can help you identify problematic translations or source strings which are hard to translate." %}</p>
  </div>
  <div class="panel-footer">
  <a class="btn btn-default" href="{% documentation 'user/checks' %}">{% trans "Documentation" %}</a>
  </div>
</div>
</div>
</div>

</div>

{% endblock %}
