Add clock svg style
This commit is contained in:
parent
7331d967d2
commit
4cd2c03687
11 changed files with 110 additions and 13 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue