From dc03d9202dae2a44af2410d68b2e35d500a8a5ac Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 1 Apr 2016 21:47:36 -0400 Subject: add get_users --- data/stuff/test/auth.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data/stuff') diff --git a/data/stuff/test/auth.js b/data/stuff/test/auth.js index 408010b..6f10fbf 100644 --- a/data/stuff/test/auth.js +++ b/data/stuff/test/auth.js @@ -5,15 +5,15 @@ jQuery(function($) { "", "", "", " ", - "%{name|h}", + "%{user_name|h}", "", ], @@ -51,7 +51,7 @@ jQuery(function($) { }).done(function(r) { list.html($.map(r.users, function(row) { return TEMPLATES.run('user', $.extend({}, row, { - css: row.active ? 'active' : '', + css: (r.user_id == row.user_id) ? 'active' : '', })); }).join('')); }); -- cgit v1.2.3