Style end session messages

Also add a missing call to render()
This commit is contained in:
lilia 2015-02-13 16:21:39 -08:00
parent f00a8f1e81
commit 367421d40a
3 changed files with 12 additions and 1 deletions

View file

@ -45,7 +45,7 @@
model: groupUpdate
}).render();
} else if (this.model.get('flags') === textsecure.protobuf.PushMessageContent.Flags.END_SESSION) {
this.end_session_view = new Whisper.EndSessionView();
this.end_session_view = new Whisper.EndSessionView().render();
} else {
this.template = $('#message').html();
}

View file

@ -216,3 +216,9 @@ button {
z-index: 5;
}
}
.end-session {
font: small;
font-style: italic;
opacity: 0.8;
}

View file

@ -398,3 +398,8 @@ button {
border: 0;
outline: 0;
z-index: 5; }
.end-session {
font: small;
font-style: italic;
opacity: 0.8; }