Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nuages
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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