From: Aleksander Ɓukasz Date: Tue, 14 Jan 2014 09:46:18 +0000 (+0100) Subject: Enable styling language switcher link depending on the destination language X-Git-Tag: 0.1.13 X-Git-Url: https://git.mdrn.pl/fnpdjango.git/commitdiff_plain/8c8820c1d7940085d92cb619ad1d5d6b80660284?hp=32d68265132f22febac39d74a3c13e884fb8e550 Enable styling language switcher link depending on the destination language --- diff --git a/fnpdjango/templates/fnpdjango/lang_switcher.html b/fnpdjango/templates/fnpdjango/lang_switcher.html index 9b725ac..e73ee77 100644 --- a/fnpdjango/templates/fnpdjango/lang_switcher.html +++ b/fnpdjango/templates/fnpdjango/lang_switcher.html @@ -1,6 +1,6 @@ {% load i18n fnp_lang %} {% for lc, ln in languages %} {% if lc != request.LANGUAGE_CODE %} - {{ lc }} + {{ lc }} {% endif %} {% endfor %} \ No newline at end of file diff --git a/setup.py b/setup.py index 25a745c..2a1d81e 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def whole_trees(package_dir, paths): setup( name='fnpdjango', - version='0.1.12', + version='0.1.13', author='Radek Czajka', author_email='radekczajka@nowoczesnapolska.org.pl', url = '',