mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
- Enh: Changed invite mail subject text
This commit is contained in:
parent
fef17e2fa7
commit
c30297eff3
@ -9,6 +9,7 @@ HumHub Change Log
|
||||
- Enh: Added grunt `migrate-up` and `migrate-create` task
|
||||
- Enh: Added profile field type `CheckboxList`
|
||||
- Fix: Fixed `ui.addition` `MutationObserver`, only apply additions to inserted nodes.
|
||||
- Enh: Changed invite mail subject text
|
||||
|
||||
1.2.0 (April 16, 2017)
|
||||
--------------------------------
|
||||
|
@ -133,7 +133,7 @@ class Invite extends ActiveRecord
|
||||
'registrationUrl' => $registrationUrl
|
||||
]);
|
||||
$mail->setTo($this->email);
|
||||
$mail->setSubject(Yii::t('UserModule.views_mails_UserInviteSelf', 'Registration Link'));
|
||||
$mail->setSubject(Yii::t('UserModule.views_mails_UserInviteSelf', 'Welcome to %appName%', ['%appName%' => Yii::$app->name]));
|
||||
$mail->send();
|
||||
} elseif ($this->source == self::SOURCE_INVITE && $this->space !== null) {
|
||||
|
||||
@ -152,7 +152,7 @@ class Invite extends ActiveRecord
|
||||
'registrationUrl' => $registrationUrl
|
||||
]);
|
||||
$mail->setTo($this->email);
|
||||
$mail->setSubject(Yii::t('UserModule.views_mails_UserInviteSpace', 'Invitation to join: {space}', ['space' => $this->space->name]));
|
||||
$mail->setSubject(Yii::t('UserModule.views_mails_UserInviteSpace', 'You\'ve been invited to join {space} on {appName}', ['space' => $this->space->name, 'appName' => Yii::$app->name]));
|
||||
$mail->send();
|
||||
|
||||
// Switch back to users language
|
||||
@ -176,7 +176,7 @@ class Invite extends ActiveRecord
|
||||
'registrationUrl' => $registrationUrl
|
||||
]);
|
||||
$mail->setTo($this->email);
|
||||
$mail->setSubject(Yii::t('UserModule.invite', 'Invitation to join'));
|
||||
$mail->setSubject(Yii::t('UserModule.invite', 'You\'ve been invited to join %appName%', ['%appName%' => Yii::$app->name]));
|
||||
$mail->send();
|
||||
|
||||
// Switch back to users language
|
||||
|
Loading…
x
Reference in New Issue
Block a user