fixed display only translation to selected language

parent 176667c6
......@@ -31,7 +31,9 @@
<gender>{{word.gender}}</gender>
<ul class="translations">
{% for trans in word.translation.all %}
{% if trans.language.code == conlang.code %}
<li>{{trans}} ({{trans.language.name}})</li>
{% endif %}
{% endfor %}
</ul>
</a>
......@@ -52,7 +54,9 @@
<gender>{{word.gender}}</gender>
<ul class="translations">
{% for trans in word.translation.all %}
{% if trans.language.code == natlang.code %}
<li>{{trans}} ({{trans.language.name}})</li>
{% endif %}
{% endfor %}
</ul>
</a>
......
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