summaryrefslogtreecommitdiff
path: root/src/templates/apps/stats/room.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/apps/stats/room.html')
-rw-r--r--src/templates/apps/stats/room.html5
1 files changed, 2 insertions, 3 deletions
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({
<table>
<tr><td><b>Total minutes:</b></td><td id="minutes"></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