diff options
author | Leif Johansson <leifj@sunet.se> | 2012-02-02 15:12:49 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-02-02 15:12:49 +0100 |
commit | ef6ff581acf04d14e2f70c8800e221a38659eba9 (patch) | |
tree | f242fe59d1c0cbbc1e7e1ac8d6bef69a0c3afa05 /src/templates/apps/stats | |
parent | dfec2d9ac88dded5047aa52aaede1e4c510953eb (diff) |
make it possible to look at other users stats for debugging
Diffstat (limited to 'src/templates/apps/stats')
-rw-r--r-- | src/templates/apps/stats/user.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 %} -<h1>Meeting statistics for {{user}}</h1> +<h1>Meeting statistics for {{username}}</h1> <div id="graph" style="width:600px;height:300px; display: block; float: left; margin-right: 20px;"></div> <div> <h2>Summary</h2> |