@@ -68,6 +68,9 @@ $("#views-menu li a").click(function(){
{% include "list-translations.html" %}
{% endwith %}
{% else %}
{% with usersubscriptions as projects %}
{% include "list-projects.html" %}
{% endwith %}
<pclass="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages in your subscribed projects." %}</p>
{% endif %} {# usersubscriptions #}
<p>
...
...
@@ -94,24 +97,7 @@ $("#views-menu li a").click(function(){
<divclass="tab-pane active"id="projects">
{% endif %} {# user.is_authenticated #}
<tableclass="sort table">
<thead>
<tr>
<th>{% trans "Project" %}</th>
<thcolspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
{% for prj in projects %}
{% with prj.get_translated_percent as percent and prj.get_fuzzy_percent as fuzzy and prj.get_failing_checks_percent as check_percent %}
@@ -129,7 +115,10 @@ $("#views-menu li a").click(function(){
{% include "list-translations.html" %}
{% endwith %}
{% else %}
<pclass="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages in TODO." %}</p>
{% with componentlist.get_components as projects %}
{% include "list-projects.html" %}
{% endwith %}
<pclass="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages." %}</p>
{% endif %} {# userlanguages #}
<p><aclass="btn btn-default"href="{% url 'profile' %}#languages">{% trans "Manage your languages" %}</a></p>