-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job 170: add context to the mails for subscribers #190
Conversation
server/package.json
Outdated
@@ -43,7 +44,7 @@ | |||
"sequelize": "^4.4.4", | |||
"sequelize-cli": "^2.8.0", | |||
"serve-favicon": "~2.4.3", | |||
"sqlite3": "^3.1.9" | |||
"sqlite3": "^3.1.13" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bien !
mais pourquoi ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah merde, c'est parce que j'ai dû installer sqlite3 pour faire marcher l'appli, c'était cassé...
Mais pourtant je n'avais pas fait de --save...
On garde ou pas ?
@@ -11,7 +12,8 @@ module.exports = { | |||
template += `${addedJobs.length} nouvelle(s) mission(s) à staffer :`; | |||
template += '<ul>'; | |||
addedJobs.forEach((job) => { | |||
template += `<li><bold>${job.activity.title}</bold> pour le projet ${job.project.name}</li>`; | |||
const formatedDate = moment(job.activity.staffing_needed_from).format('DD/MM/YYYY'); | |||
template += `<li><bold>${job.activity.title}</bold> pour le projet ${job.project.name} pour le client ${job.project.customer.name} à partir du ${formatedDate}</li>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
retirer le bold
feat #170