mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Style end session messages
Also add a missing call to render()
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -216,3 +216,9 @@ button {
|
||||
z-index: 5;
|
||||
}
|
||||
}
|
||||
|
||||
.end-session {
|
||||
font: small;
|
||||
font-style: italic;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
@@ -398,3 +398,8 @@ button {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
z-index: 5; }
|
||||
|
||||
.end-session {
|
||||
font: small;
|
||||
font-style: italic;
|
||||
opacity: 0.8; }
|
||||
|
||||
Reference in New Issue
Block a user