diff options
author | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 11:32:42 +0000 |
---|---|---|
committer | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 11:32:42 +0000 |
commit | ff89112e87a34156fd0d4a10a10fd43b6f525cbd (patch) | |
tree | 7bf3bcf334051dbf2f8d96981b8d199470064eac /theme/cccevents/templates/translations.html | |
parent | 17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff) | |
parent | c8cfe63aac73a92ae02354a5306ca5480808daff (diff) |
Merge branch 'redohp' into 'master'
re-do site in schiedsstelle layout
See merge request KampfCaspar/help.ccc.de!1
Diffstat (limited to 'theme/cccevents/templates/translations.html')
-rw-r--r-- | theme/cccevents/templates/translations.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/theme/cccevents/templates/translations.html b/theme/cccevents/templates/translations.html new file mode 100644 index 0000000..5864095 --- /dev/null +++ b/theme/cccevents/templates/translations.html | |||
@@ -0,0 +1,8 @@ | |||
1 | {% macro translations_for(article) %} | ||
2 | {% if article.translations %} | ||
3 | <!--<li role="presentation" class="active"><a href="#">{{ DEFAULT_LANG }}</a></li>--> | ||
4 | {% for translation in article.translations %} | ||
5 | <li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ translation.url }}"><img src="{{ SITEURL}}/theme/images/{{ translation.lang }}.png"></a></li> | ||
6 | {% endfor %} | ||
7 | {% endif %} | ||
8 | {% endmacro %} | ||