theme/templates/translations.html

Wed, 29 Jun 2016 23:18:07 +0200

author
David Douard <david.douard@logilab.fr>
date
Wed, 29 Jun 2016 23:18:07 +0200
changeset 64
dcb6f3fcbd1e
parent 36
9507107a1133
permissions
-rw-r--r--

[hp34970a] add some stuff on the flags decoding

{% macro translations_for(article) %}
{% if article.translations %}
Translations: 
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}

mercurial