summaryrefslogtreecommitdiff
path: root/src/templates/apps/stats/domain.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-04 15:11:49 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-04 15:11:49 +0200
commita8f72fab3a15120da2332c314836c1b521e9091a (patch)
treee9ea77c193b7c99e65b98caf2a982f396ab83144 /src/templates/apps/stats/domain.html
parente6213dccb11e9b6f1111076d42032d0c0fb5b7af (diff)
settings cleanup
remove broken prefix-handler
Diffstat (limited to 'src/templates/apps/stats/domain.html')
-rw-r--r--src/templates/apps/stats/domain.html5
1 files changed, 2 insertions, 3 deletions
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({
<tr><td><b>Total minutes:</b></td><td id="minutes"></td></tr>
<tr><td><b>Total rooms:</b></td><td id="rooms"></td></tr>
<tr><td><b>Total unique users:</b></td><td id="users"></td></tr>
- <tr><td colspan="2" style="padding-top: 10px;"><a href="{% prefix %}/stats">Look at your own statistics</a></td></tr>
+ <tr><td colspan="2" style="padding-top: 10px;"><a href="/stats">Look at your own statistics</a></td></tr>
</table>
</div>
{% endblock %} \ No newline at end of file