Nicer looking end-session and group control messages

This commit is contained in:
lilia 2015-03-23 15:44:47 -07:00
parent f160d1b7ad
commit a7079206f4
7 changed files with 45 additions and 20 deletions

View file

@ -18,12 +18,12 @@
window.Whisper = window.Whisper || {};
Whisper.EndSessionView = Backbone.View.extend({
Whisper.EndSessionView = Whisper.View.extend({
tagName: "div",
className: "end-session",
render: function() {
this.$el.text("Secure session ended");
return this;
template: $('#message').html(),
render_attributes: function() {
return { text: 'Secure session ended' };
}
});