[fix] [minor] don't show portal link in communication thread
This commit is contained in:
parent
d76d8d3b7e
commit
756c28a2e7
1 changed files with 2 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ wn.views.CommunicationList = Class.extend({
|
|||
doc._sender = doc.sender.replace(/</, "<").replace(/>/, ">");
|
||||
doc.content = doc.content.split("-----"+wn._("In response to")+"-----")[0];
|
||||
doc.content = doc.content.split("-----"+wn._("Original Message")+"-----")[0];
|
||||
doc.content = doc.content.split("<!-- Portal Link -->")[0];
|
||||
},
|
||||
|
||||
make_line: function(doc) {
|
||||
|
|
@ -331,7 +332,7 @@ wn.views.CommunicationComposer = Class.extend({
|
|||
page: portal_args["page"],
|
||||
name: encodeURIComponent(this.doc.name)
|
||||
});
|
||||
portal_link = '--<br><a href="'+portal_link+'" target="_blank">View this on our website</a>';
|
||||
portal_link = '<!-- Portal Link -->--<br><a href="'+portal_link+'" target="_blank">View this on our website</a>';
|
||||
}
|
||||
}
|
||||
return portal_link;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue