forked from varia/varia.website
translations button more verbose
This commit is contained in:
parent
43b14c3a32
commit
85b8e8c14e
@ -50,7 +50,13 @@
|
||||
{% if article.translations %}
|
||||
<div class="article-translation">
|
||||
{% 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 %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user