translations button more verbose
This commit is contained in:
parent
43b14c3a32
commit
85b8e8c14e
@ -50,7 +50,13 @@
|
|||||||
{% if article.translations %}
|
{% if article.translations %}
|
||||||
<div class="article-translation">
|
<div class="article-translation">
|
||||||
{% for translation in article.translations %}
|
{% for translation in article.translations %}
|
||||||
<a href="{{ translation.url }}">{{ translation.lang }}</a>
|
{% if translation.lang == 'nl' %}
|
||||||
|
<a href="{{ translation.url }}">Lees dit artikel in het Nederlands</a>
|
||||||
|
{% endif%}
|
||||||
|
|
||||||
|
{% if translation.lang == 'en' %}
|
||||||
|
<a href="{{ translation.url }}">Read this article in English</a>
|
||||||
|
{% endif%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user