Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
9294dba9
Commit
9294dba9
authored
May 22, 2012
by
stef
Browse files
[fix] rendering of single country
parent
0b5688a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/list.html
View file @
9294dba9
...
...
@@ -18,7 +18,7 @@
$script
([
'
{{ MEDIA_URL }}/js/raphael.min.js
'
,
'
{{ MEDIA_URL }}/js/kartograph.min.js
'
,
'
{{ MEDIA_URL }}/js/chroma.min.js
'
,
'
{{ MEDIA_URL }}/js/qtip.min.js
'
],
'
kartograph
'
);
</script>
<script
type=
"text/javascript"
>
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}
null
{
%
endif
%
};
var
data
=
{
%
if
countryweights
%
}{{
countryweights
|
safe
}}{
%
else
%
}
[]
{
%
endif
%
};
var
country
=
"
{{country}}
"
;
$script
.
ready
([
'
jquery
'
,
'
tables
'
],
function
()
{
$
(
document
).
ready
(
function
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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