add less options for mail font url/family

This commit is contained in:
rekollekt 2018-10-14 09:49:27 +02:00
parent ff9b97276d
commit d712375421
10 changed files with 33 additions and 25 deletions

View File

@ -64,9 +64,9 @@ use yii\helpers\Html;
align="left">
<tr>
<td style="font-size: 13px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:#555555; font-weight:300; text-align:left; ">
<td style="font-size: 13px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:#555555; font-weight:300; text-align:left; ">
<!-- prevent content overflow -->
<div style="width:480px;overflow:hidden;text-overflow:ellipsis;font-size: 13px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:#555555; font-weight:300; text-align:left;">
<div style="width:480px;overflow:hidden;text-overflow:ellipsis;font-size: 13px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:#555555; font-weight:300; text-align:left;">
<!-- content output-->
<?= $content; ?>

View File

@ -30,7 +30,7 @@
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td style="font-size: 18px; line-height: 22px; font-family:Open Sans, Arial, Tahoma, Helvetica, sans-serif; font-weight:300; text-align:left;">
<td style="font-size: 18px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; font-weight:300; text-align:left;">
<span style="color:<?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<a href="#" style="text-decoration: none; color:<?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?= Yii::t('base', '<strong>Mail</strong> summary'); ?>

View File

@ -25,7 +25,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28" style="background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>;background-clip: padding-box; font-size:26px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#a3a2a2; font-weight: 300; padding-left:18px; padding-right:18px; ">
<td width="auto" align="center" valign="middle" height="28" style="background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>;background-clip: padding-box; font-size:26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; color:#a3a2a2; font-weight: 300; padding-left:18px; padding-right:18px; ">
<span style="color:<?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?= Yii::t('UserModule.views_mails_ChangeEmail', '<strong>Confirm</strong></strong> your new email address'); ?>
@ -92,7 +92,7 @@ use yii\helpers\Html;
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:left; ">
<td style="font-size: 14px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:left; ">
<?php echo Yii::t('UserModule.views_mails_ChangeEmail', 'Hello'); ?> <?php echo Html::encode($user->displayName); ?>,<br><br>
@ -119,7 +119,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="32" style="background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<td width="auto" align="center" valign="middle" height="32" style="background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">
<a href="<?php echo $approveUrl; ?>" style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">

View File

@ -24,7 +24,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28" style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; font-weight: 300; padding-left:18px; padding-right:18px; ">
<td width="auto" align="center" valign="middle" height="28" style="background-color: <?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size: 26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align: center; font-weight: 300; padding-left: 18px; padding-right: 18px; ">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?= Yii::t('UserModule.views_mails_RecoverPassword', '<strong>Password</strong> recovery'); ?>
</span>
@ -82,7 +82,7 @@ use yii\helpers\Html;
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:left; ">
<td style="font-size: 14px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color: <?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight: 300; text-align: left; ">
<?php echo Yii::t('UserModule.views_mails_RecoverPassword', 'Hello {displayName}', ['{displayName}' => Html::encode($user->displayName)]); ?>
<br><br>
@ -112,7 +112,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="32" style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<td width="auto" align="center" valign="middle" height="32" style=" background-color: <?= $this->theme->variable('primary'); ?>; border-radius: 5px; background-clip: padding-box; font-size: 14px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align: center; color: #ffffff; font-weight: 600; padding-left: 30px; padding-right: 30px; padding-top: 5px; padding-bottom: 5px;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">
<a href="<?= $linkPasswordReset; ?>" style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">

View File

@ -27,7 +27,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28" style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; font-weight: 300; padding-left:18px; padding-right:18px; ">
<td width="auto" align="center" valign="middle" height="28" style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; font-weight: 300; padding-left:18px; padding-right:18px; ">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?php echo Yii::t('UserModule.views_mails_UserInviteSpace', 'You got an invite'); ?>
</span>
@ -113,7 +113,7 @@ use yii\helpers\Html;
<table width="100%" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td style="font-size: 18px; line-height: 22px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; font-weight:300; text-align:center;">
<td style="font-size: 18px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; font-weight:300; text-align:center;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<a href="<?php echo $originator->createUrl('/user/profile', [], true); ?>"
style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
@ -187,7 +187,7 @@ use yii\helpers\Html;
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; padding-left: 50px; padding-right: 50px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<td style="font-size: 14px; line-height: 22px; padding-left: 50px; padding-right: 50px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<!-- START: CONTENT -->
<?= Yii::t('UserModule.views_mails_UserInviteSpace', 'invited you to join {name}.', ['name' => '<strong>' . Html::encode(Yii::$app->name) . '</strong>']); ?><br />
@ -207,7 +207,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="32" style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<td width="auto" align="center" valign="middle" height="32" style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">
<a href="<?= $registrationUrl; ?>" style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">

View File

@ -30,7 +30,7 @@ use yii\helpers\Html;
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28"
style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; font-weight: 300; padding-left:18px; padding-right:18px; ">
style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; font-weight: 300; padding-left:18px; padding-right:18px; ">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?= Yii::t('UserModule.views_mails_UserInviteSelf', 'Welcome to %appName%', ['%appName%' => '<strong>' . Html::encode(Yii::$app->name) . '</strong>']); ?>
@ -94,7 +94,7 @@ use yii\helpers\Html;
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<td style="font-size: 14px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<?php echo Yii::t('UserModule.views_mails_UserInviteSelf', 'Welcome to %appName%. Please click on the button below to proceed with your registration.', ['%appName%' => Html::encode(Yii::$app->name)]); ?>
@ -119,7 +119,7 @@ use yii\helpers\Html;
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="32"
style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">
<a href="<?php echo Url::toRoute(['/user/registration', 'token' => $token], true); ?>"

View File

@ -27,7 +27,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28" style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#a3a2a2; font-weight: 300; padding-left:18px; padding-right:18px; ">
<td width="auto" align="center" valign="middle" height="28" style=" background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size:26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; color:#a3a2a2; font-weight: 300; padding-left:18px; padding-right:18px; ">
<span style="color: #555555; font-weight: 300;">
<?php echo Yii::t('UserModule.views_mails_UserInviteSpace', 'You got an invite'); ?>
@ -114,7 +114,7 @@ use yii\helpers\Html;
<table width="100%" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td style="font-size: 18px; line-height: 22px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; font-weight:300; text-align:center;">
<td style="font-size: 18px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; font-weight:300; text-align:center;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<a href="<?php echo $originator->createUrl('/user/profile', [], true); ?>"
style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
@ -188,7 +188,7 @@ use yii\helpers\Html;
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; padding-left: 50px; padding-right: 50px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<td style="font-size: 14px; line-height: 22px; padding-left: 50px; padding-right: 50px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:center; ">
<!-- START: CONTENT -->
<?php echo Yii::t('UserModule.views_mails_UserInviteSpace', 'invited you to join {space} on {name}.', ['space' => '<strong>' . Html::encode($space->name) . '</strong>', 'name' => Html::encode(Yii::$app->name)]); ?>
@ -210,7 +210,7 @@ use yii\helpers\Html;
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="32" style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<td width="auto" align="center" valign="middle" height="32" style=" background-color:<?= $this->theme->variable('primary'); ?>; border-radius:5px; background-clip: padding-box;font-size:14px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; text-align:center; color:#ffffff; font-weight: 600; padding-left:30px; padding-right:30px; padding-top: 5px; padding-bottom: 5px;">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">
<a href="<?php echo $registrationUrl; ?>" style="text-decoration: none; color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#fff') ?>; font-weight: 300;">

View File

@ -38,7 +38,7 @@
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; font-family:Open Sans,Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:left; ">
<td style="font-size: 14px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color:<?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight:300; text-align:left; ">
<?php echo $message; ?>

View File

@ -16,7 +16,7 @@ use yii\helpers\Html;
<meta name="format-detection" content="telephone=no"/>
<title><?php echo Html::encode(Yii::$app->name); ?></title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,100,400,600' rel='stylesheet' type='text/css'>
<link href=<?= Yii::$app->view->theme->variable('mail-font-url', 'http://fonts.googleapis.com/css?family=Open+Sans:300,100,400,600') ?> rel='stylesheet' type='text/css'>
<style type="text/css">
<?php $defaultBackground = Yii::$app->view->theme->variable('background-color-main', '#fff') ?>
@ -519,7 +519,7 @@ use yii\helpers\Html;
<?php $this->head() ?>
</head>
<body style="font-size:12px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; background-color:<?= Yii::$app->view->theme->variable('background-color-page', '#ededed') ?>; ">
<body style="font-size:12px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; background-color: <?= Yii::$app->view->theme->variable('background-color-page', '#ededed') ?>;">
<?php $this->beginBody() ?>
<!--start 100% wrapper (white background) -->
@ -559,7 +559,7 @@ use yii\helpers\Html;
<td style="text-align:center;">
<span style="text-decoration: none; color:<?= Yii::$app->view->theme->variable('text-color-contrast', '#ffffff') ?>;">
<a href="<?php echo Url::to(['/'], true); ?>"
style="font-size: 18px; line-height: 27px; font-family:Open Sans, Arial,Tahoma, Helvetica, sans-serif; color:<?= Yii::$app->view->theme->variable('text-color-contrast', '#ffffff') ?>; font-weight:600; text-align:left;">
style="text-decoration: none; font-size: 18px; line-height: 27px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>; color: <?= Yii::$app->view->theme->variable('text-color-contrast', '#ffffff') ?>; font-weight: 700; text-align: left;">
<?php echo Html::encode(Yii::$app->name); ?>
</a>
</span>
@ -684,7 +684,7 @@ use yii\helpers\Html;
<table align="center" border="0" cellspacing="0" cellpadding="0" class="container2">
<tr>
<td align="center" valign="top" style="font-size: 11px; line-height: 18px; font-weight:300; text-align: center; font-family:Open Sans,Arail,Tahoma, Helvetica, Arial, sans-serif;">
<td align="center" valign="top" style="font-size: 11px; line-height: 18px; font-weight:300; text-align: center; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', 'Open Sans, Arial, Tahoma, Helvetica, sans-serif') ?>;">
<?php if (isset(Yii::$app->view->params['showUnsubscribe']) && Yii::$app->view->params['showUnsubscribe'] === true) : ?>
<?php $url = (isset(Yii::$app->view->params['unsubscribeUrl'])) ? Yii::$app->view->params['unsubscribeUrl'] : \yii\helpers\Url::to(['/notification/user'], true) ?>

View File

@ -82,3 +82,11 @@
@text-color-danger: #ff8989;
@border-color-danger: #ff8989;
//
// Fonts
// --------------------------------------------------
// Mail Fonts
@mail-font-url: 'http://fonts.googleapis.com/css?family=Open+Sans:300,100,400,600';
@mail-font-family: 'Open Sans', 'Arial', 'Tahoma', 'Helvetica', sans-serif;