Commit b8097a74 authored by Dennis Schönhof's avatar Dennis Schönhof Committed by Curtis Adam

Fix style errors

parent 3e0b40b7
......@@ -63,7 +63,7 @@ export class MailNotifier {
subject += TAPi18n.__('mailNotification.subjectPlural1', null, Meteor.settings.mail.language) + cards + TAPi18n.__('mailNotification.subjectPlural2', null, Meteor.settings.mail.language);
bold = cards + TAPi18n.__('mailNotification.newCards2Plural', null, Meteor.settings.mail.language) + '"' + cardset.name + '"';
}
subject += TAPi18n.__('mailNotification.subjectCardset', null, Meteor.settings.mail.language) + '"' +cardset.name + '"' + TAPi18n.__('mailNotification.subjectEnd', null, Meteor.settings.mail.language);
subject += TAPi18n.__('mailNotification.subjectCardset', null, Meteor.settings.mail.language) + '"' + cardset.name + '"' + TAPi18n.__('mailNotification.subjectEnd', null, Meteor.settings.mail.language);
textEnd = TAPi18n.__('mailNotification.textEnd', null, Meteor.settings.mail.language);
this.sendMail(name, this.getMail(user_id), subject, text, bold, textEnd, cardset._id, "#3d9c19", "#328114");
}
......@@ -109,7 +109,7 @@ export class MailNotifier {
throw new Meteor.Error("not-authorized");
} else {
if (mail) {
var html = SSR.render("newsletter", {name: name, message: text, title: subject, bold:bold, textEnd:textEnd, id: cardsetId, url: Meteor.settings.public.rooturl, titlecolor: titleColor, btncol: buttonColor, datenschutz: datenschutz, impressum: impressum, agb: agb, service: service, unsubscribe: unsubscribe, copyright: copyright, cardset: myCardset, autoGenerated: autoGenerated});
var html = SSR.render("newsletter", {name: name, message: text, title: subject, bold: bold, textEnd: textEnd, id: cardsetId, url: Meteor.settings.public.rooturl, titlecolor: titleColor, btncol: buttonColor, datenschutz: datenschutz, impressum: impressum, agb: agb, service: service, unsubscribe: unsubscribe, copyright: copyright, cardset: myCardset, autoGenerated: autoGenerated});
Email.send({
from: Meteor.settings.mail.senderAddress,
to: mail,
......
......@@ -41,7 +41,7 @@
"autoClose": true
},
"mail": {
"senderAddress": "mail@localhost",
"senderAddress": "info@arsnova.cards",
"language": "de",
"url": "smtp://postmaster%40sandboxcc4938befa8447ca8c857cdf4b968653.mailgun.org:d07ea9c40ccbb21d268bbda17e9aad9d@smtp.mailgun.org:587"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment