Skip to content

Commit

Permalink
update rest of subjects
Browse files Browse the repository at this point in the history
  • Loading branch information
amass01 committed May 21, 2021
1 parent b7419b3 commit c3df54b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions politeiawww/pi/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (p *Pi) mailNtfnProposalSetStatusToAuthor(token, name string, status rcv1.R
)
switch status {
case rcv1.RecordStatusPublic:
subject = "Your Proposal Has Been Published"
subject = "Your Proposal Has Been Published " + token
tmplData := proposalPublishedToAuthor{
Name: name,
Link: u.String(),
Expand All @@ -207,7 +207,7 @@ func (p *Pi) mailNtfnProposalSetStatusToAuthor(token, name string, status rcv1.R
}

case rcv1.RecordStatusCensored:
subject = "Your Proposal Has Been Censored"
subject = "Your Proposal Has Been Censored " + token
tmplData := proposalCensoredToAuthor{
Name: name,
Reason: reason,
Expand Down Expand Up @@ -250,7 +250,7 @@ func (p *Pi) mailNtfnCommentNewToProposalAuthor(token string, commentID uint32,
return err
}

subject := "New Comment On Your Proposal"
subject := "New Comment On Your Proposal " + token
tmplData := commentNewToProposalAuthor{
Username: commentUsername,
Name: proposalName,
Expand Down Expand Up @@ -289,7 +289,7 @@ func (p *Pi) mailNtfnCommentReply(token string, commentID uint32, commentUsernam
return err
}

subject := "New Reply To Your Comment"
subject := "New Reply To Your Comment " + fmt.Sprint(commentID)
tmplData := commentReply{
Username: commentUsername,
Name: proposalName,
Expand Down Expand Up @@ -325,7 +325,7 @@ func (p *Pi) mailNtfnVoteAuthorized(token, name string, emails []string) error {
return err
}

subject := "Proposal Vote Authorized"
subject := "Proposal Vote Authorized " + token
tmplData := voteAuthorized{
Name: name,
Link: u.String(),
Expand Down Expand Up @@ -360,7 +360,7 @@ func (p *Pi) mailNtfnVoteStarted(token, name string, emails []string) error {
return err
}

subject := "Voting Started for Proposal"
subject := "Voting Started for Proposal " + token
tmplData := voteStarted{
Name: name,
Link: u.String(),
Expand Down Expand Up @@ -395,7 +395,7 @@ func (p *Pi) mailNtfnVoteStartedToAuthor(token, name, email string) error {
return err
}

subject := "Voting Has Started On Your Proposal"
subject := "Voting Has Started On Your Proposal " + token
tmplData := voteStartedToAuthor{
Name: name,
Link: u.String(),
Expand Down

0 comments on commit c3df54b

Please sign in to comment.