mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Merge pull request #1112 from Rudloff/feature/unsubscribe
Add unsubscribe button
This commit is contained in:
commit
c148e19ea3
9 changed files with 53 additions and 1 deletions
|
|
@ -290,6 +290,7 @@ function MessageViewMailBoxUserView()
|
|||
this.viewSize = ko.observable('');
|
||||
this.viewLineAsCss = ko.observable('');
|
||||
this.viewViewLink = ko.observable('');
|
||||
this.viewUnsubscribeLink = ko.observable('');
|
||||
this.viewDownloadLink = ko.observable('');
|
||||
this.viewUserPic = ko.observable(Consts.DATA_IMAGE_USER_DOT_PIC);
|
||||
this.viewUserPicVisible = ko.observable(false);
|
||||
|
|
@ -374,6 +375,7 @@ function MessageViewMailBoxUserView()
|
|||
this.viewSize(oMessage.friendlySize());
|
||||
this.viewLineAsCss(oMessage.lineAsCss());
|
||||
this.viewViewLink(oMessage.viewLink());
|
||||
this.viewUnsubscribeLink(oMessage.unsubsribeLinks[0]);
|
||||
this.viewDownloadLink(oMessage.downloadLink());
|
||||
this.viewIsImportant(oMessage.isImportant());
|
||||
this.viewIsFlagged(oMessage.flagged());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue