diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-01 14:59:01 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-01 14:59:01 -0400 |
commit | 8e764f3d75c384744bb8062b6f210da24fd082d9 (patch) | |
tree | 4578493f0a713b6f4719bbfecbf014c36f793e57 /askbot/templates/meta | |
parent | d9a8432c63add285df9291ca8142687a787f43bd (diff) | |
download | askbot-8e764f3d75c384744bb8062b6f210da24fd082d9.tar.gz askbot-8e764f3d75c384744bb8062b6f210da24fd082d9.tar.bz2 askbot-8e764f3d75c384744bb8062b6f210da24fd082d9.zip |
added custom header to the search drop menu for japanese language
Diffstat (limited to 'askbot/templates/meta')
-rw-r--r-- | askbot/templates/meta/html_head_javascript.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/templates/meta/html_head_javascript.html b/askbot/templates/meta/html_head_javascript.html index 67f0ec88..07a39f80 100644 --- a/askbot/templates/meta/html_head_javascript.html +++ b/askbot/templates/meta/html_head_javascript.html @@ -3,6 +3,7 @@ var askbot = {}; askbot['data'] = {}; askbot['data']['userIsAuthenticated'] = {{ request.user.is_authenticated()|as_js_bool }}; + askbot['data']['languageCode'] = '{{ current_language_code }}'; {% if request.user.is_authenticated() %} askbot['data']['userId'] = {{ request.user.id }}; askbot['data']['userName'] = '{{ request.user.username }}'; |