Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
d29820ff
authored
Feb 07, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
one: add js i18n
parent
a7e7fe7b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cloud/urls.py
+5
-0
one/templates/base.html
+1
-0
No files found.
cloud/urls.py
View file @
d29820ff
...
...
@@ -7,6 +7,10 @@ import one.views
import
firewall.views
#import store.views
js_info_dict
=
{
'packages'
:
(
'one'
,
),
}
urlpatterns
=
patterns
(
''
,
url
(
r'^admin/doc/'
,
include
(
'django.contrib.admindocs.urls'
)),
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
...
...
@@ -37,4 +41,5 @@ urlpatterns = patterns('',
url
(
r'^ajax/store/rename$'
,
'store.views.ajax_rename'
,
name
=
'store_ajax_rename'
),
url
(
r'^ajax/vm/status/(?P<iid>\d+)$'
,
'one.views.vm_ajax_instance_status'
,
name
=
'vm_ajax_instance_status'
),
url
(
r'^language/(?P<lang>[-A-Za-z]+)/$'
,
'school.views.language'
,
name
=
'language'
),
url
(
r'^jsi18n/$'
,
'django.views.i18n.javascript_catalog'
,
js_info_dict
),
)
one/templates/base.html
View file @
d29820ff
...
...
@@ -10,6 +10,7 @@
<link
rel=
"stylesheet/less"
href=
"/static/style.less"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<script
src=
"/static/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"{% url django.views.i18n.javascript_catalog %}"
></script>
<script
type=
"text/javascript"
>
less
=
{
env
:
'developement'
...
...
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