Commit d98726e5 authored by Jitka Novotna's avatar Jitka Novotna

manage language button

parent 7a4e518c
......@@ -72,7 +72,10 @@ $("#views-menu li a").click(function(){
{% else %}
<p class="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><a class="btn btn-default" href="{% url 'profile' %}#subscriptions">{% trans "Manage your subscriptions" %}</a></p>
<p>
<a class="btn btn-default" href="{% url 'profile' %}#languages">{% trans "Manage your languages" %}</a>
<a class="btn btn-default" href="{% url 'profile' %}#subscriptions">{% trans "Manage your subscriptions" %}</a>
</p>
</div>
<div class="tab-pane" id="your-languages">
......@@ -89,12 +92,12 @@ $("#views-menu li a").click(function(){
{% for componentlist in componentlists %}
<div class="tab-pane" id="list-{{componentlist.slug}}">
{% if userlanguages %} {{componentlist.title}}
{% if userlanguages %}
{% with userlanguages as translations and 2 as show_language and user.profile.hide_completed as hide_completed %}
{% include "list-translations.html" %}
{% endwith %}
{% else %}
<p class="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages in all projects." %}</p>
<p class="help-block">{% trans "Choose your languages in preferences and you will get an overview here of available translations for those languages in TODO." %}</p>
{% endif %} {# userlanguages #}
<p><a class="btn btn-default" href="{% url 'profile' %}#languages">{% trans "Manage your languages" %}</a></p>
</div>{% endfor %}
......
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