Add clock svg style

This commit is contained in:
lilia 2016-09-26 23:15:20 -07:00
parent 7331d967d2
commit 4cd2c03687
11 changed files with 110 additions and 13 deletions

View file

@ -43,6 +43,23 @@
}
});
Whisper.ExpirationTimerUpdateView = Whisper.View.extend({
tagName: 'li',
className: 'expirationTimerUpdate advisory',
templateName: 'expirationTimerUpdate',
initialize: function() {
this.conversation = this.model.getModelForExpirationTimerUpdate();
this.listenTo(this.conversation, 'change', this.render);
},
render_attributes: function() {
return {
content: i18n('changedTheTimer',
this.conversation.getTitle(),
this.model.get('timerUpdate').time)
};
}
});
Whisper.MessageView = Whisper.View.extend({
tagName: 'li',
templateName: 'message',