diff --git a/alplora/static/alplora/img/favicon.ico b/alplora/static/alplora/img/favicon.ico old mode 100755 new mode 100644 index 9cd0fe78..395ae5df Binary files a/alplora/static/alplora/img/favicon.ico and b/alplora/static/alplora/img/favicon.ico differ diff --git a/alplora/templates/alplora/index.html b/alplora/templates/alplora/index.html index 6b0285fd..41f3f261 100644 --- a/alplora/templates/alplora/index.html +++ b/alplora/templates/alplora/index.html @@ -1,5 +1,8 @@ {% load staticfiles i18n%} - + + + + @@ -500,4 +503,5 @@
- \ No newline at end of file + + \ No newline at end of file diff --git a/alplora/views.py b/alplora/views.py index d9db6f12..a07457cf 100644 --- a/alplora/views.py +++ b/alplora/views.py @@ -1,8 +1,17 @@ from django.views.generic import TemplateView - +from django.utils.translation import get_language class IndexView(TemplateView): template_name = "alplora/index.html" + + def get_context_data(self, *args, **kwargs): + context = super(IndexView, self).get_context_data(**kwargs) + language = get_language() + context.update({ + 'language': language + }) + return context + class LoginView(TemplateView): template_name = "alplora/login.html"