Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Enhancing users list #850

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update node tests for user_presence_rows.
  • Loading branch information
kartikmaji committed Oct 3, 2016
commit 8f47e154fbf9ee6eb684c16d3c411ee719b91d8a
15 changes: 10 additions & 5 deletions frontend_tests/node_tests/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -785,23 +785,28 @@ function render(template_name, args) {
(function user_presence_rows() {
global.use_template('user_presence_row'); // partial
var args = {
users: [
starred_users: [
{
"my_fullname": true,
"type_desc": "Active",
"type": "active",
"num_unread": 0,
"email": "lear@zulip.com",
"name": "King Lear"
},
"name": "King Lear",
starred: true
}
],
unstarred_users: [
{
"type_desc": "Away",
"type": "away",
"num_unread": 5,
"email": "othello@zulip.com",
"name": "Othello"
"name": "Othello",
"starred": false
}
]
],
split: true
};

var html = '';
Expand Down