Browse Source

translations button more verbose

transformations
rra 7 years ago
parent
commit
85b8e8c14e
  1. 8
      themes/varia/templates/article.html

8
themes/varia/templates/article.html

@ -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…
Cancel
Save