Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2bee02a1
Commit
2bee02a1
authored
Apr 11, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gettext errors by including /js/i18n/LANGUAGE_CODE/djangojs.js in Django template
parent
74db655e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lms/templates/main_django.html
+6
-2
No files found.
lms/templates/main_django.html
View file @
2bee02a1
<!DOCTYPE html>
{% load sekizai_tags i18n microsite pipeline optional_include %}
{% load sekizai_tags i18n microsite pipeline optional_include
staticfiles
%}
{% load url from future %}
<html
lang=
"{{LANGUAGE_CODE}}"
>
<head>
<meta
charset=
"UTF-8"
>
{% block title %}
<title>
{% platform_name %}
</title>
{% endblock %}
<link
rel=
"icon"
type=
"image/x-icon"
href=
"{% favicon_path %}"
/>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"{% favicon_path %}"
/>
{% with "js/i18n/"|add:LANGUAGE_CODE|add:"/djangojs.js" as i18njs_path %}
<script
type=
"text/javascript"
src=
"{% static i18njs_path %}"
></script>
{% endwith %}
{% stylesheet 'style-vendor' %}
{% stylesheet 'style-main-v1' %}
...
...
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