mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Dont add click-button text for plaintext mails
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4b639e2763
commit
983210de2e
1 changed files with 4 additions and 3 deletions
|
|
@ -272,9 +272,10 @@ class ShareByMailProvider implements IShareProvider {
|
|||
$text= $this->l->t('%s shared »%s« with you on behalf of %s.', [$ownerDisplayName, $filename, $initiator]);
|
||||
}
|
||||
|
||||
$text .= ' ' . $this->l->t('Click the button below to open it.');
|
||||
|
||||
$emailTemplate->addBodyText($text);
|
||||
$emailTemplate->addBodyText(
|
||||
$text . ' ' . $this->l->t('Click the button below to open it.'),
|
||||
$text
|
||||
);
|
||||
|
||||
$emailTemplate->addBodyButton(
|
||||
$this->l->t('Open »%s«', [$filename]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue