--- a/src/jocondelab/static/jocondelab/js/front-timeline.js Fri Nov 15 14:40:38 2013 +0100
+++ b/src/jocondelab/static/jocondelab/js/front-timeline.js Mon Nov 18 14:16:09 2013 +0100
@@ -1,6 +1,6 @@
$(function() {
- var startYear = -21000,
+ var startYear = -20000,
endYear = 2012,
gamma = 2,
zoomLevel = 4,
@@ -232,7 +232,7 @@
ctx.moveTo(x, cHeight*3/14);
ctx.lineTo(x, cHeight - cHeight/14);
ctx.stroke();
- if (isPrimary) {
+ if (isPrimary && (y!=startYear)) {
ctx.fillText(y || 1, x, cHeight - 4);
ctx.fillText(y || 1, x, cHeight*4/21);
}
--- a/src/jocondelab/templates/jocondelab/front_timeline.html Fri Nov 15 14:40:38 2013 +0100
+++ b/src/jocondelab/templates/jocondelab/front_timeline.html Mon Nov 18 14:16:09 2013 +0100
@@ -17,7 +17,7 @@
{% block css_declaration %}
{{block.super}}
- <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}jocondelab/css/front-timeline.css"></script>
+ <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}jocondelab/css/front-timeline.css" />
{% endblock %}
{% block title %}JocondeLab » {% trans 'Chronologie' %}{% endblock %}