2015-09-07 23:53:43 +02:00
|
|
|
/*
|
|
|
|
* vim: ts=4:sw=4:expandtab
|
2015-08-04 21:15:37 +02:00
|
|
|
*/
|
|
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
window.Whisper = window.Whisper || {};
|
|
|
|
|
|
|
|
Whisper.GroupMemberList = Whisper.View.extend({
|
2016-03-21 23:37:53 +01:00
|
|
|
className: 'group-member-list panel',
|
2015-12-09 00:01:29 +01:00
|
|
|
templateName: 'group-member-list',
|
2015-08-04 21:15:37 +02:00
|
|
|
initialize: function() {
|
|
|
|
this.render();
|
2015-09-03 22:33:17 +02:00
|
|
|
this.member_list_view = new Whisper.ContactListView({
|
2015-08-04 21:15:37 +02:00
|
|
|
collection: this.model.contactCollection,
|
|
|
|
className: 'members'
|
|
|
|
});
|
|
|
|
this.member_list_view.render();
|
2016-03-21 23:37:53 +01:00
|
|
|
this.$('.container').append(this.member_list_view.el);
|
2015-08-04 21:15:37 +02:00
|
|
|
},
|
2015-12-26 02:03:32 +01:00
|
|
|
render_attributes: {
|
|
|
|
members: i18n('members')
|
2016-03-23 23:06:22 +01:00
|
|
|
}
|
2015-08-04 21:15:37 +02:00
|
|
|
});
|
|
|
|
})();
|