Commit f704c461 authored by Michal Čihař's avatar Michal Čihař

Include legend on all progress bars

Otherwise new users have no clue what these colors mean.

Fixes #436
parent 42ccadd4
......@@ -55,6 +55,8 @@
</tbody>
</table>
{% include "legend.html" %}
{% if offer_hosting %}
{% url 'hosting' as contact_url %}
<p>{% blocktrans %}We can host your project as well, if you are interested, please <a href="{{ contact_url }}?subject=Project hosting">contact us</a>.{% endblocktrans %}</p>
......
......@@ -27,4 +27,6 @@
</tbody>
</table>
{% include "legend.html" %}
{% endblock %}
{% load i18n %}
<div class="legend">
<div class="progress" data-value="100" data-fuzzy="0" data-checks="0"></div> - {% trans "Translated strings" %}
<div class="progress" data-value="0" data-fuzzy="0" data-checks="100"></div> - {% trans "Strings with any failing checks" %}
<div class="progress" data-value="0" data-fuzzy="100" data-checks="0"></div> - {% trans "Fuzzy strings" %}
</div>
......@@ -59,8 +59,4 @@
</tbody>
</table>
<div class="legend">
<div class="progress" data-value="100" data-fuzzy="0" data-checks="0"></div> - {% trans "Translated strings" %}
<div class="progress" data-value="0" data-fuzzy="0" data-checks="100"></div> - {% trans "Strings with any failing checks" %}
<div class="progress" data-value="0" data-fuzzy="100" data-checks="0"></div> - {% trans "Fuzzy strings" %}
</div>
{% include "legend.html" %}
......@@ -39,6 +39,8 @@
</tbody>
</table>
{% include "legend.html" %}
<h2>{% trans "Tools" %}</h2>
<div class="tabs" id="project-tabs">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment