Skip to content

Commit

Permalink
#22 logs email application helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasar icli committed Mar 28, 2016
1 parent 4c70ef7 commit 609f0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions collections/logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ Dev.isServer(() => {

// SEND EMAIL
if (application) {
const user = Users.findOne(userId);

// SEND EMAILS
application.sendEmailMembers('log', { user, application });
application.sendEmailMembers('log', { application });
}
});
});
2 changes: 1 addition & 1 deletion private/emails/log.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<table border="0" cellpadding="20" cellspacing="0" width="100%" id="emailBody">
<tr>
<td align="center" valign="top" style="color: #505050; font-family: sans-serif; font-size: 19px;">
Application <b>{{ application.name }}</b> is {{ application.status }}
Application <b>{{ application.name }}</b> is {{ application.status }}.
</td>
</tr>
</table>
Expand Down

0 comments on commit 609f0ff

Please sign in to comment.