mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-12 04:25:05 -05:00
Somehow this got left out?
This commit is contained in:
parent
5fa6bc1324
commit
70eb14cc0f
23
clientapp/views/mucRosterItem.js
Normal file
23
clientapp/views/mucRosterItem.js
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*global $, app, me*/
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var _ = require('underscore');
|
||||||
|
var HumanView = require('human-view');
|
||||||
|
var templates = require('../templates');
|
||||||
|
|
||||||
|
|
||||||
|
module.exports = HumanView.extend({
|
||||||
|
template: templates.includes.mucRosterItem,
|
||||||
|
classBindings: {
|
||||||
|
show: '',
|
||||||
|
chatState: '',
|
||||||
|
idle: ''
|
||||||
|
},
|
||||||
|
textBindings: {
|
||||||
|
mucDisplayName: '.name'
|
||||||
|
},
|
||||||
|
render: function () {
|
||||||
|
this.renderAndBind({contact: this.model});
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user