Add recently watched to user screen

This commit is contained in:
Tim 2015-06-21 14:00:14 +02:00
commit ba18c5b96e
6 changed files with 112 additions and 3 deletions

View file

@ -190,6 +190,15 @@
<script>
$(document).ready(function () {
$.ajax({
url: 'get_user_watch_time_stats',
async: true,
data: { user: '${user}' },
complete: function(xhr, status) {
$("#user-time-stats").html(xhr.responseText);
}
});
$.ajax({
url: 'get_user_recently_watched',
async: true,