From ef6ff581acf04d14e2f70c8800e221a38659eba9 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 2 Feb 2012 15:12:49 +0100 Subject: make it possible to look at other users stats for debugging --- src/templates/apps/stats/user.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/templates/apps/stats') diff --git a/src/templates/apps/stats/user.html b/src/templates/apps/stats/user.html index 486c9be..35a40fb 100644 --- a/src/templates/apps/stats/user.html +++ b/src/templates/apps/stats/user.html @@ -3,11 +3,11 @@ {% load prefix %} {% block widgets %} $.ajax({ - url: '{% prefix %}/api/stats/user/{{user.username}}', + url: '{% prefix %}/api/stats/user/{{username}}', method: 'GET', success: function (resp) { var graph = $('#graph'); - series = [{label: 'Meeting minutes for {{user}}',data: resp['data']}]; + series = [{label: 'Meeting minutes for {{username}}',data: resp['data']}]; $.plot(graph,series,{ lines: { show: true }, points: { show: true }, @@ -19,7 +19,7 @@ $.ajax({ }); {% endblock %} {% block content %} -

Meeting statistics for {{user}}

+

Meeting statistics for {{username}}

Summary

-- cgit v1.1