2016-04-06 22:34:21 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const BaseView = require('./base_view.js');
|
|
|
|
|
|
|
|
class UserSummaryView extends BaseView {
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
this.template = this.getTemplate('user-summary-template');
|
|
|
|
}
|
|
|
|
|
|
|
|
render(options) {
|
2016-04-07 22:54:45 +02:00
|
|
|
options.target.innerHTML = this.template(options);
|
2016-04-06 22:34:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = UserSummaryView;
|