Commit cb96689b authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавили условие для вывода формы

parent fd0b3782
...@@ -10,7 +10,7 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists( ...@@ -10,7 +10,7 @@ if ($cacheEmail!==false && Bid::find()->where(['email' => $cacheEmail])->exists(
$userIsSubscribed = true; $userIsSubscribed = true;
?> ?>
<?php if ($userIsSubscribed===true): ?> <?php if ($userIsSubscribed===false): ?>
<div class="subsc_blog"> <div class="subsc_blog">
<h2 class="subsc_blog_title"><?=\Yii::t('form', 'Liked? Subscribe up for updates!')?></h2> <h2 class="subsc_blog_title"><?=\Yii::t('form', 'Liked? Subscribe up for updates!')?></h2>
<div class="subsc_blog_txt"><?=\Yii::t('form', 'We will try to publish this section only useful and unique content for the market. Subscription allow to be the first to get notification about fresh articles.')?></div> <div class="subsc_blog_txt"><?=\Yii::t('form', 'We will try to publish this section only useful and unique content for the market. Subscription allow to be the first to get notification about fresh articles.')?></div>
......
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