Merge branch 'Aufinal/stat_article' into 'master'
Fix article stat display See merge request !207
This commit is contained in:
commit
55116f7179
1 changed files with 2 additions and 3 deletions
|
@ -101,9 +101,8 @@
|
||||||
<script type="text/javascript" src="{% static 'kfet/js/statistic.js' %}"></script>
|
<script type="text/javascript" src="{% static 'kfet/js/statistic.js' %}"></script>
|
||||||
<script>
|
<script>
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
var stat_last = $("#stat_last");
|
var stat_last = new StatsGroup("{% url 'kfet.article.stat.last' article.id %}",
|
||||||
var stat_last_url = "{% url 'kfet.article.stat.last' article.id %}";
|
$("#stat_last"));
|
||||||
STAT.get_thing(stat_last_url, stat_last, "Stat non trouvées :(");
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue