From a8f72fab3a15120da2332c314836c1b521e9091a Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 4 Oct 2012 15:11:49 +0200 Subject: settings cleanup remove broken prefix-handler --- src/templates/apps/stats/domain.html | 5 ++--- src/templates/apps/stats/room.html | 5 ++--- src/templates/apps/stats/user.html | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'src/templates/apps/stats') diff --git a/src/templates/apps/stats/domain.html b/src/templates/apps/stats/domain.html index 93fb1a9..f7d9ad3 100644 --- a/src/templates/apps/stats/domain.html +++ b/src/templates/apps/stats/domain.html @@ -1,9 +1,8 @@ {% extends "base.html" %} {% load datehumanize %} -{% load prefix %} {% block widgets %} $.ajax({ - url: '{% prefix %}/api/stats/domain/{{domain}}', + url: '/api/stats/domain/{{domain}}', method: 'GET', success: function (resp) { var graph = $('#graph'); @@ -28,7 +27,7 @@ $.ajax({ Total minutes: Total rooms: Total unique users: - Look at your own statistics + Look at your own statistics {% endblock %} \ No newline at end of file diff --git a/src/templates/apps/stats/room.html b/src/templates/apps/stats/room.html index 7a2a25f..d5e35dd 100644 --- a/src/templates/apps/stats/room.html +++ b/src/templates/apps/stats/room.html @@ -1,9 +1,8 @@ {% extends "base.html" %} {% load datehumanize %} -{% load prefix %} {% block widgets %} $.ajax({ - url: '{% prefix %}/api/stats/room/{{room.id}}', + url: '/api/stats/room/{{room.id}}', method: 'GET', success: function (resp) { var graph = $('#graph'); @@ -26,7 +25,7 @@ $.ajax({ - +
Total minutes:
Total unique users:
Look at your own statistics
Look at your own statistics
{% endblock %} \ No newline at end of file diff --git a/src/templates/apps/stats/user.html b/src/templates/apps/stats/user.html index 35a40fb..8b08c6c 100644 --- a/src/templates/apps/stats/user.html +++ b/src/templates/apps/stats/user.html @@ -1,9 +1,8 @@ {% extends "base.html" %} {% load datehumanize %} -{% load prefix %} {% block widgets %} $.ajax({ - url: '{% prefix %}/api/stats/user/{{username}}', + url: '/api/stats/user/{{username}}', method: 'GET', success: function (resp) { var graph = $('#graph'); @@ -26,7 +25,7 @@ $.ajax({ - +
Total minutes:
Total rooms:
Look at statistics for {{domain}}
Look at statistics for {{domain}}
{% endblock %} \ No newline at end of file -- cgit v1.1