sharebymail: Add linebreak before password
Signed-off-by: Ruben Barkow <github@r.z11.de>
This commit is contained in:
parent
73aabbd3c0
commit
a3849e60ba
1 changed files with 4 additions and 2 deletions
|
@ -479,7 +479,8 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$emailTemplate->addHeader();
|
||||
$emailTemplate->addHeading($this->l->t('Password to access »%s«', [$filename]), false);
|
||||
$emailTemplate->addBodyText(htmlspecialchars($htmlBodyPart), $plainBodyPart);
|
||||
$emailTemplate->addBodyText($this->l->t('It is protected with the following password: %s', [$password]));
|
||||
$emailTemplate->addBodyText($this->l->t('It is protected with the following password:'));
|
||||
$emailTemplate->addBodyText($password);
|
||||
|
||||
// The "From" contains the sharers name
|
||||
$instanceName = $this->defaults->getName();
|
||||
|
@ -600,7 +601,8 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$emailTemplate->addHeader();
|
||||
$emailTemplate->addHeading($this->l->t('Password to access »%s«', [$filename]), false);
|
||||
$emailTemplate->addBodyText($bodyPart);
|
||||
$emailTemplate->addBodyText($this->l->t('This is the password: %s', [$password]));
|
||||
$emailTemplate->addBodyText($this->l->t('This is the password:'));
|
||||
$emailTemplate->addBodyText($password);
|
||||
$emailTemplate->addBodyText($this->l->t('You can choose a different password at any time in the share dialog.'));
|
||||
$emailTemplate->addFooter();
|
||||
|
||||
|
|
Loading…
Reference in a new issue