Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
etch
nuages
Commits
5718157f
Commit
5718157f
authored
May 17, 2013
by
Joan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change behaviour of language links to fix #1052
parent
237c3201
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
templates/index.html
templates/index.html
+5
-1
No files found.
templates/index.html
View file @
5718157f
...
...
@@ -63,7 +63,11 @@
{% for lang_code, lang_name in languages %}
{% language lang_code %}
<a
href=
"{% url 'documentation_trans' %}"
>
{{ lang_name }}
</a>
<form
style=
"display:inline;"
name=
"setLang{{ lang_name }}"
action=
"/i18n/setlang/"
method=
"POST"
>
{% csrf_token %}
<input
name=
"next"
type=
"hidden"
value=
"/"
/>
<input
type=
"hidden"
name=
"language"
value=
"{{ lang_code }}"
/>
<a
href=
"#"
onclick=
"document.setLang{{ lang_name }}.submit();return false;"
>
{{ lang_name }}
</a>
</form>
{% endlanguage %}
{% endfor %}
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment